Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Signed-off-by: v.oleynikov <[email protected]>
  • Loading branch information
duckhawk committed Jul 25, 2024
1 parent bf12d76 commit 007b692
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions images/webhooks/src/handlers/nscValidator.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ func NSCValidate(ctx context.Context, arReview *model.AdmissionReview, obj metav
listClasses := &cn.NFSStorageClassList{}
err = cl.List(ctx, listClasses)

klog.Info(nsc.Finalizers)

if nsc.Spec.Connection.NFSVersion == "3" && arReview.Operation != "delete" {
v3presents = true
}
Expand Down

0 comments on commit 007b692

Please sign in to comment.