mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Fix panics in federation e2e
This commit is contained in:
parent
6e75fa9745
commit
a653a5e8ce
@ -94,7 +94,7 @@ func buildClustersOrFail_14(f *framework.Framework) []*federation_api.Cluster {
|
||||
}
|
||||
result := make([]*federation_api.Cluster, 0, len(contexts))
|
||||
for i := range clusterList.Items {
|
||||
result[i] = &clusterList.Items[i]
|
||||
result = append(result, &clusterList.Items[i])
|
||||
}
|
||||
return result
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user