Merge pull request #30821 from ardnaxelarak/21076_change_isEmpty_to_Empty

Automatic merge from submit-queue

Rename IsEmpty to Empty

addresses #21076
This commit is contained in:
Kubernetes Submit Queue
2016-08-22 00:54:28 -07:00
committed by GitHub
12 changed files with 23 additions and 23 deletions

View File

@@ -84,7 +84,7 @@ func RunExplain(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []st
if fullySpecifiedGVR != nil {
gvk, _ = mapper.KindFor(*fullySpecifiedGVR)
}
if gvk.IsEmpty() {
if gvk.Empty() {
gvk, err = mapper.KindFor(groupResource.WithVersion(""))
if err != nil {
return err