From 51cc31cb92bc8c770724ce842a6615b4c2925591 Mon Sep 17 00:00:00 2001 From: Tit Petric Date: Mon, 23 Dec 2024 16:03:15 +0100 Subject: [PATCH] Add error check for golangci-lint --- gateway/testutil.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gateway/testutil.go b/gateway/testutil.go index 5b2de1a5db2..8e2825fe187 100644 --- a/gateway/testutil.go +++ b/gateway/testutil.go @@ -1161,7 +1161,9 @@ func (s *Test) newGateway(genConf func(globalConf *config.Config)) *Gateway { gwConfig.BundleBaseURL = testHttpBundles gwConfig.MiddlewarePath = testMiddlewarePath - config.FillEnv(&gwConfig) + if err := config.FillEnv(&gwConfig); err != nil { + log.WithError(err).Error("error filling test config from env") + } // force ipv4 for now, to work around the docker bug affecting // Go 1.8 and earlier