Skip to content

Commit

Permalink
fix golang lint error.
Browse files Browse the repository at this point in the history
  • Loading branch information
anathoodell committed Dec 19, 2024
1 parent 3529b41 commit aa2da54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/drivers/powerflex.go
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ func ValidateZonesInSecret(ctx context.Context, kube client.Client, namespace st
}
}
if numArraysWithZone > 0 && numArrays != numArraysWithZone {
return fmt.Errorf("not all arrays have zoning configured. Check the array info secret, zone key should be the same for all arrays.")
return fmt.Errorf("not all arrays have zoning configured. Check the array info secret, zone key should be the same for all arrays")
} else if numArraysWithZone == 0 {
log.Info("Zoning information not found in the array config. Continue with topology-unaware driver installation mode")
}
Expand Down

0 comments on commit aa2da54

Please sign in to comment.