Skip to content

Commit

Permalink
Merge pull request #1460 from aiell0/add-port-to-elasticache-connecti…
Browse files Browse the repository at this point in the history
…on-details

chore: add port to connection details
  • Loading branch information
turkenf authored Aug 22, 2024
2 parents dedf656 + a3f71a8 commit f179daf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/elasticache/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ func Configure(p *config.Provider) { //nolint:gocyclo
if a, ok := attr["cluster_address"].(string); ok {
conn["cluster_address"] = []byte(a)
}
if a, ok := attr["port"]; ok {
conn["port"] = []byte(fmt.Sprintf("%v", a))
}
return conn, nil
}
// log_delivery_configuration.destination can point to either
Expand Down

0 comments on commit f179daf

Please sign in to comment.