mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 07:27:21 +00:00
Remove selflink references in different testing-related files
This commit is contained in:
@@ -404,8 +404,6 @@ func newClaim(name, claimUID, capacity, boundToVolume string, phase v1.Persisten
|
||||
Phase: phase,
|
||||
},
|
||||
}
|
||||
// Make sure ref.GetReference(claim) works
|
||||
claim.ObjectMeta.SelfLink = "/api/v1/namespaces/" + testNamespace + "/persistentvolumeclaims/" + name
|
||||
|
||||
if len(annotations) > 0 {
|
||||
claim.Annotations = make(map[string]string)
|
||||
|
||||
Reference in New Issue
Block a user