Skip to content

Commit 1a20333

Browse files
committed
Adjust to creationTimestamp being omitted
1 parent d3532e1 commit 1a20333

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

cmd/clusterctl/client/repository/components_test.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,6 @@ func Test_fixTargetNamespace(t *testing.T) {
241241
"annotations": map[string]interface{}{
242242
"cert-manager.io/inject-ca-from": "bar/capm3-serving-cert",
243243
},
244-
"creationTimestamp": nil,
245244
"name": "capm3-mutating-webhook-configuration",
246245
},
247246
"webhooks": []interface{}{
@@ -329,7 +328,6 @@ func Test_fixTargetNamespace(t *testing.T) {
329328
"annotations": map[string]interface{}{
330329
"cert-manager.io/inject-ca-from": "bar/capm3-serving-cert",
331330
},
332-
"creationTimestamp": nil,
333331
"name": "capm3-mutating-webhook-configuration",
334332
},
335333
"webhooks": []interface{}{
@@ -390,7 +388,6 @@ func Test_fixTargetNamespace(t *testing.T) {
390388
"annotations": map[string]interface{}{
391389
"cert-manager.io/inject-ca-from": "bar/capm3-serving-cert",
392390
},
393-
"creationTimestamp": nil,
394391
"name": "aCoolName",
395392
},
396393
"spec": map[string]interface{}{
@@ -491,7 +488,6 @@ func Test_fixTargetNamespace(t *testing.T) {
491488
"annotations": map[string]interface{}{
492489
"cert-manager.io/inject-ca-from": "bar/capm3-serving-cert",
493490
},
494-
"creationTimestamp": nil,
495491
"name": "aCoolName",
496492
},
497493
"spec": map[string]interface{}{

0 commit comments

Comments
 (0)