Skip to content

Commit

Permalink
add improvement to changelog
Browse files Browse the repository at this point in the history
Signed-off-by: robpickerill <[email protected]>
  • Loading branch information
robpickerill committed Aug 20, 2024
1 parent 4ee5415 commit 853bdfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ Here is an overview of all new **experimental** features:

### Improvements

- **RabbitMQ Scaler** Add connection name for AMQP
- TODO ([#XXX](https://github.com/kedacore/keda/issues/XXX))

### Fixes
Expand Down
3 changes: 1 addition & 2 deletions pkg/scalers/rabbitmq_scaler.go
Original file line number Diff line number Diff line change
Expand Up @@ -456,14 +456,13 @@ func getConnectionAndChannel(host string, meta *rabbitMQMetadata) (*amqp.Connect
}

if meta.enableTLS {

tlsConfig, err := kedautil.NewTLSConfigWithPassword(meta.cert, meta.key, meta.keyPassword, meta.ca, meta.unsafeSsl)
if err != nil {
return nil, nil, err
}

amqpConfig.TLSClientConfig = tlsConfig
}
}

conn, err := amqp.DialConfig(host, amqpConfig)
if err != nil {
Expand Down

0 comments on commit 853bdfe

Please sign in to comment.