Skip to content

Commit 6da00c6

Browse files
committed
fix: r
Signed-off-by: Ashing Zheng <[email protected]>
1 parent ee82b5a commit 6da00c6

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

test/e2e/gatewayapi/webhook.go

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -44,22 +44,22 @@ var _ = Describe("Test Gateway Webhook", Label("webhook"), func() {
4444
By("creating Gateway referencing a missing GatewayProxy")
4545
missingName := "missing-proxy"
4646
gwYAML := `
47-
apiVersion: gateway.networking.k8s.io/v1
48-
kind: Gateway
49-
metadata:
50-
name: %s
51-
spec:
52-
gatewayClassName: %s
53-
listeners:
54-
- name: http1
55-
protocol: HTTP
56-
port: 80
57-
infrastructure:
58-
parametersRef:
59-
group: apisix.apache.org
60-
kind: GatewayProxy
61-
name: %s
62-
`
47+
apiVersion: gateway.networking.k8s.io/v1
48+
kind: Gateway
49+
metadata:
50+
name: %s
51+
spec:
52+
gatewayClassName: %s
53+
listeners:
54+
- name: http1
55+
protocol: HTTP
56+
port: 80
57+
infrastructure:
58+
parametersRef:
59+
group: apisix.apache.org
60+
kind: GatewayProxy
61+
name: %s
62+
`
6363

6464
output, err := s.CreateResourceFromStringAndGetOutput(fmt.Sprintf(gwYAML, s.Namespace(), s.Namespace(), missingName))
6565
Expect(err).ShouldNot(HaveOccurred())

0 commit comments

Comments
 (0)