mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-27 03:44:04 +00:00
fix kubectl set subject --all option invalid bug
This commit is contained in:
@@ -262,7 +262,9 @@ func (o *SubjectOptions) Run(fn updateSubjects) error {
|
||||
continue
|
||||
}
|
||||
|
||||
return o.PrintObj(actual, o.Out)
|
||||
if err := o.PrintObj(actual, o.Out); err != nil {
|
||||
allErrs = append(allErrs, err)
|
||||
}
|
||||
}
|
||||
return utilerrors.NewAggregate(allErrs)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user