Skip to content

Commit

Permalink
fix: printf non-constant format string
Browse files Browse the repository at this point in the history
Signed-off-by: Praveen M <[email protected]>
  • Loading branch information
iPraveenParihar committed Aug 14, 2024
1 parent 7c979cf commit 7cd4c6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/sidecar/service/encryptionkeyrotation.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func (ekrs *EncryptionKeyRotationServer) EncryptionKeyRotate(
if pv.Spec.CSI.NodeStageSecretRef != nil {
ekrRequest.Secrets, err = kube.GetSecret(ctx, ekrs.kubeClient, pv.Spec.CSI.NodeStageSecretRef.Name, pv.Spec.CSI.NodeStageSecretRef.Namespace)
if err != nil {
return nil, status.Errorf(codes.InvalidArgument, err.Error())
return nil, status.Error(codes.InvalidArgument, err.Error())
}
}

Expand Down

0 comments on commit 7cd4c6a

Please sign in to comment.