Rename process namespace to pid

It's "pid" in opencontainers/specs

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
Alexander Morozov 2015-08-04 14:12:18 -07:00
parent 072fa6fdcc
commit 6d1e6a17e1
1 changed files with 2 additions and 2 deletions

View File

@ -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,