You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -242,13 +245,13 @@ func (o *DeleteOptions) Validate() error {
242
245
ifo.DeleteAll&&len(o.FieldSelector) >0 {
243
246
returnfmt.Errorf("cannot set --all and --field-selector at the same time")
244
247
}
245
-
ifo.warningPrinter==nil {
246
-
returnfmt.Errorf("warningPrinter can not be used without initialization")
248
+
ifo.WarningPrinter==nil {
249
+
returnfmt.Errorf("WarningPrinter can not be used without initialization")
247
250
}
248
251
249
252
switch {
250
253
caseo.GracePeriod==0&&o.ForceDeletion:
251
-
o.warningPrinter.Print("Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely.")
254
+
o.WarningPrinter.Print("Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely.")
252
255
caseo.GracePeriod>0&&o.ForceDeletion:
253
256
returnfmt.Errorf("--force and --grace-period greater than 0 cannot be specified together")
0 commit comments