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:
authorWill Chandler <wchandler@gitlab.com>2023-10-23 17:11:26 +0300
committerWill Chandler <wchandler@gitlab.com>2023-10-27 16:45:44 +0300
commit6db5edf173ae9d34772b8e521108139a2d0dbef7 (patch)
tree96a5f9f1517dce334bb952fb5373e1cf3f4660fa /internal/cgroups
parent5867f71c734a055e3af41e237ce19f992dd68120 (diff)
cgroups: Fix resource name in interface definition
Update the name of the first argument to `setupParent` in the interface definition to match the implementations.
Diffstat (limited to 'internal/cgroups')
-rw-r--r--internal/cgroups/manager_linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/cgroups/manager_linux.go b/internal/cgroups/manager_linux.go
index 37b719e80..f2cf383dd 100644
--- a/internal/cgroups/manager_linux.go
+++ b/internal/cgroups/manager_linux.go
@@ -24,7 +24,7 @@ import (
const cfsPeriodUs uint64 = 100000
type cgroupHandler interface {
- setupParent(reposResources *specs.LinuxResources) error
+ setupParent(parentResources *specs.LinuxResources) error
setupRepository(reposResources *specs.LinuxResources) error
addToCgroup(pid int, cgroupPath string) error
collect(ch chan<- prometheus.Metric)