Skip to content

Commit 5148ae4

Browse files
committed
fix lint
1 parent a2d98fe commit 5148ae4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/e2e/gatewayapi/httproute.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,8 @@ spec:
734734

735735
It("HTTPRoute ExtensionRef", func() {
736736
By("create HTTPRoute")
737-
s.CreateResourceFromString(echoPlugin)
737+
err := s.CreateResourceFromString(echoPlugin)
738+
Expect(err).NotTo(HaveOccurred(), "creating PluginConfig")
738739
ResourceApplied("HTTPRoute", "httpbin", extensionRefEchoPlugin, 1)
739740

740741
s.NewAPISIXClient().GET("/get").
@@ -743,7 +744,8 @@ spec:
743744
Body().
744745
Contains("Hello, World!!")
745746

746-
s.CreateResourceFromString(echoPluginUpdated)
747+
err = s.CreateResourceFromString(echoPluginUpdated)
748+
Expect(err).NotTo(HaveOccurred(), "updating PluginConfig")
747749
time.Sleep(5 * time.Second)
748750

749751
s.NewAPISIXClient().GET("/get").

0 commit comments

Comments
 (0)