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

v1.go « cgroups « internal - gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8935bcdc54a1172c43cd5bb0d3f59c946d491283 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//go:build !linux

package cgroups

import (
	"gitlab.com/gitlab-org/gitaly/v16/internal/gitaly/config/cgroups"
)

// For systems other than Linux, we return a noop manager if cgroups was enabled.
func newV1Manager(cfg cgroups.Config, pid int) *NoopManager {
	return &NoopManager{}
}