add kubectl create --raw -f

This commit is contained in:
David Eads
2017-10-19 11:00:50 -04:00
parent 060b4b8b84
commit 58f39a15de
3 changed files with 69 additions and 4 deletions

View File

@@ -33,7 +33,8 @@ func TestExtraArgsFail(t *testing.T) {
f, _, _, _ := cmdtesting.NewAPIFactory()
c := NewCmdCreate(f, buf, errBuf)
if ValidateArgs(c, []string{"rc"}) == nil {
options := CreateOptions{}
if options.ValidateArgs(c, []string{"rc"}) == nil {
t.Errorf("unexpected non-error")
}
}