Skip to content

Commit

Permalink
addressing comment from Jai
Browse files Browse the repository at this point in the history
  • Loading branch information
jooseppi-luna authored Feb 23, 2022
1 parent ee66210 commit 3743aab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/drivers/powerscale.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func PrecheckPowerScale(ctx context.Context, cr *csmv1.ContainerStorageModule, c
found := &corev1.Secret{}
err := ct.Get(ctx, types.NamespacedName{Name: name, Namespace: cr.GetNamespace()}, found)
if err != nil {
log.Error(err, "Failed to query for secret. Warning - the controller pod may not start")
log.Error(err, "Failed query for secret %s", name)
if errors.IsNotFound(err) {
return fmt.Errorf("failed to find secret %s", name)
}
Expand Down

0 comments on commit 3743aab

Please sign in to comment.