Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug with earlier code by reading from the base config
Browse files Browse the repository at this point in the history
Signed-off-by: Arun Yogesh [email protected]
Signed-off-by: Arun Yogesh <[email protected]>
ArunYogesh committed Feb 7, 2024
1 parent cca9652 commit 6834379
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/scalers/kafka_scaler.go
Original file line number Diff line number Diff line change
@@ -292,6 +292,10 @@ func parseKerberosParams(config *scalersconfig.ScalerConfig, meta *kafkaMetadata
}
meta.kerberosConfigPath = path

if config.AuthParams["serviceName"] != "" {
meta.serviceName = strings.TrimSpace(config.AuthParams["serviceName"])
}

meta.saslType = mode
return nil
}

0 comments on commit 6834379

Please sign in to comment.