integration/volume: remove redundant capturing of loop vars (copyloopvar)

integration/volume/volume_test.go:202:3: The copy of the 'for' variable "ep" can be deleted (Go 1.22+) (copyloopvar)
            ep := ep
            ^

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2024-11-12 13:47:00 +01:00
parent cd5e043aff
commit a19b892c29

View File

@@ -199,7 +199,6 @@ func TestVolumesInvalidJSON(t *testing.T) {
endpoints := []string{"/volumes/create"}
for _, ep := range endpoints {
ep := ep
t.Run(ep[1:], func(t *testing.T) {
t.Parallel()
ctx := testutil.StartSpan(ctx, t)