mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 23:47:50 +00:00
update more kubectl bits for groupversion
This commit is contained in:
@@ -170,15 +170,15 @@ func TestLabelsForObject(t *testing.T) {
|
||||
func TestCanBeExposed(t *testing.T) {
|
||||
factory := NewFactory(nil)
|
||||
tests := []struct {
|
||||
kind string
|
||||
kind unversioned.GroupKind
|
||||
expectErr bool
|
||||
}{
|
||||
{
|
||||
kind: "ReplicationController",
|
||||
kind: api.Kind("ReplicationController"),
|
||||
expectErr: false,
|
||||
},
|
||||
{
|
||||
kind: "Node",
|
||||
kind: api.Kind("Node"),
|
||||
expectErr: true,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user