mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 07:27:21 +00:00
Add some error checking to prevent obscure failures.
This commit is contained in:
@@ -71,6 +71,7 @@ Examples:
|
||||
ResourceTypeOrNameArgs(args...).
|
||||
Flatten().
|
||||
Do()
|
||||
checkErr(r.Err())
|
||||
|
||||
found := 0
|
||||
err = r.IgnoreErrors(errors.IsNotFound).Visit(func(r *resource.Info) error {
|
||||
|
||||
Reference in New Issue
Block a user