Unverified Commit 857cf88a authored by Kubernetes Prow Robot's avatar Kubernetes Prow Robot Committed by GitHub

Merge pull request #75165 from qingsenLi/k8s190308-fix-error

fix a mistake in get.go
parents a0e6bd21 0c247c93
...@@ -624,7 +624,7 @@ func (o *GetOptions) watch(f cmdutil.Factory, cmd *cobra.Command, args []string) ...@@ -624,7 +624,7 @@ func (o *GetOptions) watch(f cmdutil.Factory, cmd *cobra.Command, args []string)
return err return err
} }
if multipleGVKsRequested(infos) { if multipleGVKsRequested(infos) {
return i18n.Errorf("watch is only supported on individual resources and resource collections - more than 1 resources were found") return i18n.Errorf("watch is only supported on individual resources and resource collections - more than 1 resource was found")
} }
info := infos[0] info := infos[0]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment