Remove selflink references in different testing-related files

Kubernetes-commit: 551790729f1d26d75c1d3fa1411e341eb367f9f3
This commit is contained in:
Wojciech Tyczyński
2022-01-13 11:33:26 +01:00
committed by Kubernetes Publisher
parent 092b54e6e5
commit a806c6e4fd
5 changed files with 5 additions and 14 deletions

View File

@@ -216,7 +216,6 @@ func TestFinishSeries(t *testing.T) {
hostname, _ := os.Hostname()
testPod := &v1.Pod{
ObjectMeta: metav1.ObjectMeta{
SelfLink: "/api/v1/namespaces/baz/pods/foo",
Name: "foo",
Namespace: "baz",
UID: "bar",
@@ -288,7 +287,6 @@ func TestRefreshExistingEventSeries(t *testing.T) {
hostname, _ := os.Hostname()
testPod := &v1.Pod{
ObjectMeta: metav1.ObjectMeta{
SelfLink: "/api/v1/namespaces/baz/pods/foo",
Name: "foo",
Namespace: "baz",
UID: "bar",