Skip to content

Commit

Permalink
Update manifests
Browse files Browse the repository at this point in the history
Signed-off-by: Rick Brouwer <[email protected]>
  • Loading branch information
rickbrouwer committed Aug 13, 2024
1 parent ba928b4 commit a61368f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: clustercloudeventsources.eventing.keda.sh
spec:
group: eventing.keda.sh
Expand Down
6 changes: 1 addition & 5 deletions pkg/scalers/ibmmq_scaler.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,6 @@ func (m *ibmmqMetadata) Validate() error {
return fmt.Errorf("'tls' and 'unsafeSsl' are both specified. Please use only 'unsafeSsl'")
}

// TODO: DEPRECATED to be removed in v2.17
if m.TLS {
m.UnsafeSsl = m.TLS
}

return nil
}

Expand All @@ -96,6 +91,7 @@ func NewIBMMQScaler(config *scalersconfig.ScalerConfig) (Scaler, error) {
// TODO: DEPRECATED to be removed in v2.17
if meta.TLS {
logger.Info("The 'tls' setting is DEPRECATED and will be removed in v2.17 - Use 'unsafeSsl' instead")
meta.UnsafeSsl = m.TLS

Check failure on line 94 in pkg/scalers/ibmmq_scaler.go

View workflow job for this annotation

GitHub Actions / Static Checks

undefined: m) (typecheck)

Check failure on line 94 in pkg/scalers/ibmmq_scaler.go

View workflow job for this annotation

GitHub Actions / Static Checks

undefined: m) (typecheck)

Check failure on line 94 in pkg/scalers/ibmmq_scaler.go

View workflow job for this annotation

GitHub Actions / Static Checks

undefined: m (typecheck)

Check failure on line 94 in pkg/scalers/ibmmq_scaler.go

View workflow job for this annotation

GitHub Actions / Static Checks

undefined: m) (typecheck)
}

httpClient := kedautil.CreateHTTPClient(config.GlobalHTTPTimeout, meta.UnsafeSsl)
Expand Down

0 comments on commit a61368f

Please sign in to comment.