mirror of
https://github.com/kubernetes/client-go.git
synced 2025-08-29 04:02:18 +00:00
Typo fix: watchActcion
Signed-off-by: Stephen Kitt <skitt@redhat.com> Kubernetes-commit: 3d53bfec09f1cb8dde5aed84ce1d330a34aec61c
This commit is contained in:
parent
f78427e367
commit
03fb151034
@ -211,8 +211,8 @@ func NewClientset(objects ...runtime.Object) *Clientset {
|
||||
cs.AddReactor("*", "*", testing.ObjectReaction(o))
|
||||
cs.AddWatchReactor("*", func(action testing.Action) (handled bool, ret watch.Interface, err error) {
|
||||
var opts metav1.ListOptions
|
||||
if watchActcion, ok := action.(testing.WatchActionImpl); ok {
|
||||
opts = watchActcion.ListOptions
|
||||
if watchAction, ok := action.(testing.WatchActionImpl); ok {
|
||||
opts = watchAction.ListOptions
|
||||
}
|
||||
gvr := action.GetResource()
|
||||
ns := action.GetNamespace()
|
||||
|
Loading…
Reference in New Issue
Block a user