mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-25 06:40:21 +00:00
remove mapper dependency - PrintSuccess
This commit is contained in:
@@ -107,7 +107,7 @@ func TestCreateClusterRoleBinding(t *testing.T) {
|
||||
},
|
||||
}
|
||||
|
||||
expectedOutput := "clusterrolebinding/" + expectBinding.Name + "\n"
|
||||
expectedOutput := "clusterrolebindings/" + expectBinding.Name + "\n"
|
||||
buf := bytes.NewBuffer([]byte{})
|
||||
cmd := NewCmdCreateClusterRoleBinding(f, buf)
|
||||
cmd.Flags().Set("clusterrole", "fake-clusterrole")
|
||||
|
||||
Reference in New Issue
Block a user