Merge pull request #712 from bergwolf/cgroupnamespace

kata_agent: disable cgroup namespace
This commit is contained in:
Archana Shinde 2018-09-12 08:34:01 -07:00 committed by GitHub
commit 439b4eb6e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -684,6 +684,7 @@ func constraintGRPCSpec(grpcSpec *grpc.Spec) {
var tmpNamespaces []grpc.LinuxNamespace
for _, ns := range grpcSpec.Linux.Namespaces {
switch ns.Type {
case specs.CgroupNamespace:
case specs.NetworkNamespace:
default:
ns.Path = ""