summaryrefslogtreecommitdiff
path: root/volume
diff options
context:
space:
mode:
Diffstat (limited to 'volume')
-rw-r--r--volume/testutils/testutils.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/volume/testutils/testutils.go b/volume/testutils/testutils.go
index 0a20a35516..624f76089c 100644
--- a/volume/testutils/testutils.go
+++ b/volume/testutils/testutils.go
@@ -167,7 +167,7 @@ func MakeFakePlugin(d volume.Driver, l net.Listener) (plugingetter.CompatPlugin,
w.Write([]byte("{}"))
})
- go http.Serve(l, mux)
+ go http.Serve(l, mux) // #nosec G114 -- Ignoring for test-code: G114: Use of net/http serve function that has no support for setting timeouts (gosec)
return &fakePlugin{client: c, name: d.Name()}, nil
}