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: 18a11259cde85507fb4f83b151e69d1af92a7af0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// +build !linux

package cgroups

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

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