mirror of https://github.com/k3s-io/k3s
commit
857cf88a6a
|
@ -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]
|
||||||
|
|
Loading…
Reference in New Issue