File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 2
2
3
3
All notable changes to this project will be documented in this file.
4
4
5
+ ## 1.0.367-2 (2025-01-20)
6
+ * Fix exposed cluster port.
7
+
5
8
## 1.0.367-1 (2025-01-20)
6
9
* Adding support for ` elasticache.cache-cluster-id-pattern ` which can filter by using a regex the EC clusters to be exposed.
7
10
Original file line number Diff line number Diff line change @@ -269,7 +269,7 @@ func (d *ElasticacheDiscovery) refresh(ctx context.Context) ([]*targetgroup.Grou
269
269
nodeLabels [model .LabelName (ecLabelCacheNodeStatus )] = model .LabelValue (* cn .CacheNodeStatus )
270
270
nodeLabels [model .LabelName (ecLabelCustomerAZ )] = model .LabelValue (* cn .CustomerAvailabilityZone )
271
271
nodeLabels [model .LabelName (ecLabelEndpointAddress )] = model .LabelValue (* cn .Endpoint .Address )
272
- nodeLabels [model .LabelName (ecLabelEndpointPort )] = model .LabelValue (fmt .Sprintf ("%d" , cn .Endpoint .Port ))
272
+ nodeLabels [model .LabelName (ecLabelEndpointPort )] = model .LabelValue (fmt .Sprintf ("%d" , * cn .Endpoint .Port ))
273
273
274
274
// Placeholder address
275
275
nodeLabels [model .AddressLabel ] = model .LabelValue ("undefined" )
You can’t perform that action at this time.
0 commit comments