mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-28 21:55:48 +00:00
refactor to move kubectl.cmd.Factory to kubect/cmd/util
This commit is contained in:
@@ -37,7 +37,7 @@ func TestDescribeUnknownSchemaObject(t *testing.T) {
|
||||
tf.Namespace = "non-default"
|
||||
buf := bytes.NewBuffer([]byte{})
|
||||
|
||||
cmd := f.NewCmdDescribe(buf)
|
||||
cmd := NewCmdDescribe(f, buf)
|
||||
cmd.Run(cmd, []string{"type", "foo"})
|
||||
|
||||
if d.Name != "foo" || d.Namespace != "non-default" {
|
||||
|
Reference in New Issue
Block a user