mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 01:15:43 +03:00
* client: refactor cgroups management in client * client: fingerprint numa topology * client: plumb numa and cgroups changes to drivers * client: cleanup task resource accounting * client: numa client and config plumbing * lib: add a stack implementation * tools: remove ec2info tool * plugins: fixup testing for cgroups / numa changes * build: update makefile and package tests and cl
12 lines
190 B
Go
12 lines
190 B
Go
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
//go:build !linux
|
|
|
|
package cgroupslib
|
|
|
|
// GetMode returns OFF on non-Linux systems.
|
|
func GetMode() Mode {
|
|
return OFF
|
|
}
|