mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-09-02 13:48:00 +00:00
We were always raising an error when the rootless user attempted to setup resources, but this is not the case anymore with cgroup v2. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
17 lines
472 B
Go
17 lines
472 B
Go
// +build windows
|
|
|
|
package util
|
|
|
|
import (
|
|
"github.com/pkg/errors"
|
|
)
|
|
|
|
// GetRootlessRuntimeDir returns the runtime directory when running as non root
|
|
func GetRootlessRuntimeDir() (string, error) {
|
|
return "", errors.New("this function is not implemented for windows")
|
|
}
|
|
|
|
// IsCgroup2UnifiedMode returns whether we are running in cgroup 2 unified mode.
|
|
func IsCgroup2UnifiedMode() (bool, error) {
|
|
return false, errors.New("this function is not implemented for windows")
|
|
}
|