summaryrefslogtreecommitdiffhomepage
path: root/runsc/boot/loader_test.go
diff options
context:
space:
mode:
authorJustine Olshan <justineolshan@google.com>2018-06-18 15:19:36 -0700
committerShentubot <shentubot@google.com>2018-06-18 15:20:36 -0700
commit873ec0c414973e829c1570f21d0d2e2a0df681f4 (patch)
tree708588baae26198231b64a5ff994fda6fb443040 /runsc/boot/loader_test.go
parent7eaca1074bf1a6c0e260727b2d9cbd3c878d2b77 (diff)
Modified boot.go to allow for restores.
A file descriptor was added as a flag to boot so a state file can restore a container that was checkpointed. PiperOrigin-RevId: 201068699 Change-Id: I18e96069488ffa3add468861397f3877725544aa
Diffstat (limited to 'runsc/boot/loader_test.go')
-rw-r--r--runsc/boot/loader_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/boot/loader_test.go b/runsc/boot/loader_test.go
index a7f59f775..dab7ad0c5 100644
--- a/runsc/boot/loader_test.go
+++ b/runsc/boot/loader_test.go
@@ -59,7 +59,7 @@ func createLoader() (*Loader, error) {
FileAccess: FileAccessDirect,
DisableSeccomp: true,
}
- return New(testSpec(), conf, fd, nil, false)
+ return New(testSpec(), conf, fd, -1, nil, false)
}
// TestRun runs a simple application in a sandbox and checks that it succeeds.