Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cgroups/mock_linux_test.go')
-rw-r--r--internal/cgroups/mock_linux_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/cgroups/mock_linux_test.go b/internal/cgroups/mock_linux_test.go
index 4ee705fed..620ea06d5 100644
--- a/internal/cgroups/mock_linux_test.go
+++ b/internal/cgroups/mock_linux_test.go
@@ -103,6 +103,7 @@ func (m *mockCgroup) setupMockCgroupFiles(
require.NoError(t, os.WriteFile(controlFilePath, []byte(content), 0o644))
}
+ // nolint:staticcheck // we will deprecate the old cgroups config in 15.0
for shard := uint(0); shard < manager.cfg.Count; shard++ {
shardPath := filepath.Join(cgroupPath, fmt.Sprintf("shard-%d", shard))
require.NoError(t, os.MkdirAll(shardPath, 0o755))