add err message if <rsrc>/<name> pairs specified under --local

This commit is contained in:
juanvallejo
2017-07-11 10:19:27 -04:00
parent 6003f87b78
commit c10f4f78bc
6 changed files with 37 additions and 1 deletions

View File

@@ -60,7 +60,7 @@ func TestResourcesLocal(t *testing.T) {
Requests: "cpu=200m,memory=512Mi",
ContainerSelector: "*"}
err := opts.Complete(f, cmd, []string{""})
err := opts.Complete(f, cmd, []string{})
if err == nil {
err = opts.Validate()
}