all: fix golangci-lint issues (#3064)

This commit is contained in:
Kristoffer Dalby
2026-02-06 21:45:32 +01:00
committed by GitHub
parent bfb6fd80df
commit ce580f8245
131 changed files with 3131 additions and 1560 deletions

View File

@@ -1877,7 +1877,7 @@ func TestACLAutogroupSelf(t *testing.T) {
result, err := client.Curl(url)
assert.Empty(t, result, "user1 should not be able to access user2's regular devices (autogroup:self isolation)")
assert.Error(t, err, "connection from user1 to user2 regular device should fail")
require.Error(t, err, "connection from user1 to user2 regular device should fail")
}
}
@@ -1896,6 +1896,7 @@ func TestACLAutogroupSelf(t *testing.T) {
}
}
//nolint:gocyclo // complex integration test scenario
func TestACLPolicyPropagationOverTime(t *testing.T) {
IntegrationSkip(t)