From 0c247c9305fb090a738ffeaf3bb9b6fd9e96270d Mon Sep 17 00:00:00 2001 From: qingsenLi Date: Fri, 8 Mar 2019 17:48:18 +0800 Subject: [PATCH] fix a mistake --- pkg/kubectl/cmd/get/get.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/kubectl/cmd/get/get.go b/pkg/kubectl/cmd/get/get.go index b3fa41b3c5..181db749fd 100644 --- a/pkg/kubectl/cmd/get/get.go +++ b/pkg/kubectl/cmd/get/get.go @@ -624,7 +624,7 @@ func (o *GetOptions) watch(f cmdutil.Factory, cmd *cobra.Command, args []string) return err } 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]