Skip to content

Commit

Permalink
Issue 668: Fix for system tests failure (#669)
Browse files Browse the repository at this point in the history
Signed-off-by: anisha.kj <[email protected]>
  • Loading branch information
anishakj authored Aug 17, 2023
1 parent eaf431a commit 2881c61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/v1beta1/pravegacluster_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ func (p *PravegaCluster) validateConfigMap() error {
// ValidateAuthenticationSettings checks for correct options passed to pravega
// when authentication is enabled/disabled.
func (p *PravegaCluster) ValidateAuthenticationSettings() error {
if p.Spec.Authentication.Enabled == true {
if p.Spec.Authentication != nil && p.Spec.Authentication.Enabled == true {
newkey, _ := p.Spec.Pravega.Options["autoScale.controller.connect.security.auth.enable"]
oldkey, _ := p.Spec.Pravega.Options["autoScale.authEnabled"]

Expand Down

0 comments on commit 2881c61

Please sign in to comment.