summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNicolas Lacasse <nlacasse@google.com>2018-10-02 11:35:41 -0700
committerShentubot <shentubot@google.com>2018-10-02 11:36:50 -0700
commitcf3dc2f8a55f2499f1385f6c5f47522b41cf25b3 (patch)
treeeb21aafe3d0b61d950a2b942ecf968ed0f7c0b12
parentf1c01ed88666ea81d8f5cef7931153a9951a6e64 (diff)
Fix compilation bug.
Docker.Run only returns a single argument. PiperOrigin-RevId: 215427309 Change-Id: I1eebbc628853ca57f79d25e18d4f04dfa5a2a003
-rw-r--r--runsc/test/integration/exec_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/test/integration/exec_test.go b/runsc/test/integration/exec_test.go
index ddd088223..014254aab 100644
--- a/runsc/test/integration/exec_test.go
+++ b/runsc/test/integration/exec_test.go
@@ -69,7 +69,7 @@ func TestExecJobControl(t *testing.T) {
d := testutil.MakeDocker("exec-test")
// Start the container.
- if _, err := d.Run("alpine", "sleep", "1000"); err != nil {
+ if err := d.Run("alpine", "sleep", "1000"); err != nil {
t.Fatalf("docker run failed: %v", err)
}
defer d.CleanUp()