From 6d1e6a17e1f084c723a9544e45e13cff879bfa29 Mon Sep 17 00:00:00 2001 From: Alexander Morozov Date: Tue, 4 Aug 2015 14:12:18 -0700 Subject: [PATCH] Rename process namespace to pid It's "pid" in opencontainers/specs Signed-off-by: Alexander Morozov --- spec.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec.go b/spec.go index 2a025cd2..b2ef21cc 100644 --- a/spec.go +++ b/spec.go @@ -94,7 +94,7 @@ var specCommand = cli.Command{ Linux: specs.Linux{ Namespaces: []specs.Namespace{ { - Type: "process", + Type: "pid", }, { Type: "network", @@ -138,7 +138,7 @@ var specCommand = cli.Command{ } var namespaceMapping = map[string]configs.NamespaceType{ - "process": configs.NEWPID, + "pid": configs.NEWPID, "network": configs.NEWNET, "mount": configs.NEWNS, "user": configs.NEWUSER,