mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
rename to GroupVersion and rename the one in type.go to GroupVersionForDiscovery
This commit is contained in:
@@ -385,7 +385,7 @@ func TestHelperGetServerAPIVersions(t *testing.T) {
|
||||
APIGroupList := unversioned.APIGroupList{
|
||||
Groups: []unversioned.APIGroup{
|
||||
{
|
||||
Versions: []unversioned.GroupVersion{
|
||||
Versions: []unversioned.GroupVersionForDiscovery{
|
||||
{
|
||||
GroupVersion: "group1/v1",
|
||||
},
|
||||
@@ -395,7 +395,7 @@ func TestHelperGetServerAPIVersions(t *testing.T) {
|
||||
},
|
||||
},
|
||||
{
|
||||
Versions: []unversioned.GroupVersion{
|
||||
Versions: []unversioned.GroupVersionForDiscovery{
|
||||
{
|
||||
GroupVersion: "group2/v1",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user