diff options
Diffstat (limited to 'pkg/rootless/rootless_unsupported.go')
-rw-r--r-- | pkg/rootless/rootless_unsupported.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/pkg/rootless/rootless_unsupported.go b/pkg/rootless/rootless_unsupported.go index e0adb3453..31728e5c2 100644 --- a/pkg/rootless/rootless_unsupported.go +++ b/pkg/rootless/rootless_unsupported.go @@ -3,8 +3,6 @@ package rootless import ( - "os" - "github.com/pkg/errors" ) @@ -38,8 +36,3 @@ func SkipStorageSetup() bool { func JoinNS(pid uint) (bool, int, error) { return false, -1, errors.New("this function is not supported on this os") } - -// GetUserNSForPid returns an open FD for the first direct child user namespace that created the process -func GetUserNSForPid(pid uint) (*os.File, error) { - return nil, errors.New("this function is not supported on this os") -} |