Fix compilation bug.

Docker.Run only returns a single argument.

PiperOrigin-RevId: 215427309
Change-Id: I1eebbc628853ca57f79d25e18d4f04dfa5a2a003
This commit is contained in:
Nicolas Lacasse 2018-10-02 11:35:41 -07:00 committed by Shentubot
parent f1c01ed886
commit cf3dc2f8a5
1 changed files with 1 additions and 1 deletions

View File

@ -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()