mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-08 11:38:15 +00:00
Merge pull request #31335 from mwielgus/fix-ns-e2e
Automatic merge from submit-queue Fix panics in federation e2e tets cc: @quinton-hoole @madhusudancs
This commit is contained in:
commit
0a3219ebf7
@ -94,7 +94,7 @@ func buildClustersOrFail_14(f *framework.Framework) []*federation_api.Cluster {
|
|||||||
}
|
}
|
||||||
result := make([]*federation_api.Cluster, 0, len(contexts))
|
result := make([]*federation_api.Cluster, 0, len(contexts))
|
||||||
for i := range clusterList.Items {
|
for i := range clusterList.Items {
|
||||||
result[i] = &clusterList.Items[i]
|
result = append(result, &clusterList.Items[i])
|
||||||
}
|
}
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user