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

fix a mistake in get.go
k3s-v1.15.3
Kubernetes Prow Robot 2019-03-29 10:28:27 -07:00 committed by GitHub
commit 857cf88a6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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]