Skip to content

Commit f3273b2

Browse files
authored
Remove deprecated generation field (knative-extensions#328)
This patch removes DeprecatedGeneration from ingress test util.
1 parent 3dfac59 commit f3273b2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/reconciler/ingress/ingress_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1152,8 +1152,7 @@ func ingressWithStatus(name string, generation int64, status v1alpha1.IngressSta
11521152
ResourceVersion: "v1",
11531153
},
11541154
Spec: v1alpha1.IngressSpec{
1155-
DeprecatedGeneration: generation,
1156-
Rules: ingressRules,
1155+
Rules: ingressRules,
11571156
},
11581157
Status: status,
11591158
}

0 commit comments

Comments
 (0)