Revert "Fix for kubectl output message (issue 8013)"

This reverts commit 4ed46e8fc6876db0d6e12b60f8bedc49d16b34ab.
This commit is contained in:
goltermann 2015-05-26 15:07:16 -07:00
parent 424cbb028f
commit acb07811b3

View File

@ -597,7 +597,7 @@ func (b *Builder) visitorResult() *Result {
return &Result{singular: singular, visitor: visitors, sources: b.paths}
}
return &Result{err: fmt.Errorf(`you must provide one or more resources by argument or filename, try "kubectl help [command]" for help`)}
return &Result{err: fmt.Errorf("you must provide one or more resources by argument or filename")}
}
// Do returns a Result object with a Visitor for the resources identified by the Builder.