Reverting 18442

This commit is contained in:
Abhishek Shah
2015-12-17 16:57:29 -08:00
parent 7ec24ffaab
commit 6f63875165
21 changed files with 135 additions and 699 deletions

View File

@@ -84,7 +84,7 @@ func RunExplain(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []st
}
// TODO: We should deduce the group for a resource by discovering the supported resources at server.
gvk, err := mapper.KindFor(unversioned.GroupVersionResource{Resource: inModel})
gvk, err := mapper.KindFor(inModel)
if err != nil {
return err
}