Update runtime-spec rc6

This should be the same commit tagged as the 1.0 release

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby
2017-07-12 09:09:48 -07:00
parent 0600399b0d
commit 4e8943f7bb
7 changed files with 13 additions and 13 deletions

View File

@@ -64,7 +64,7 @@ func defaultNamespaces() []specs.LinuxNamespace {
func createDefaultSpec() (*specs.Spec, error) {
s := &specs.Spec{
Version: specs.Version,
Root: specs.Root{
Root: &specs.Root{
Path: defaultRootfsPath,
},
Process: &specs.Process{
@@ -81,7 +81,7 @@ func createDefaultSpec() (*specs.Spec, error) {
Effective: defaltCaps(),
Ambient: defaltCaps(),
},
Rlimits: []specs.LinuxRlimit{
Rlimits: []specs.POSIXRlimit{
{
Type: "RLIMIT_NOFILE",
Hard: uint64(1024),