mirror of
https://github.com/kubernetes/sample-controller.git
synced 2026-04-12 00:00:26 +08:00
Merge remote-tracking branch 'origin/master' into release-1.9
Kubernetes-commit: fb2de097796aafb38cdb6dc4d3184ebd43d525b4
This commit is contained in:
+1
-1
@@ -89,7 +89,7 @@ func ListAccessor(obj interface{}) (List, error) {
|
||||
}
|
||||
return nil, errNotList
|
||||
default:
|
||||
panic(fmt.Errorf("%T does not implement the List interface", obj))
|
||||
return nil, errNotList
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user