From bb72c328306667a0429c10caa90a79b2b9ff0bd6 Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Thu, 18 Jan 2018 16:41:14 -0500 Subject: [PATCH] 12891: Fix use of magic string. Arvados-DCO-1.1-Signed-off-by: Tom Clegg --- services/crunch-run/crunchrun.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/crunch-run/crunchrun.go b/services/crunch-run/crunchrun.go index b8c80dd247..a78d47d480 100644 --- a/services/crunch-run/crunchrun.go +++ b/services/crunch-run/crunchrun.go @@ -930,7 +930,7 @@ func (runner *ContainerRunner) StartContainer() error { func (runner *ContainerRunner) WaitFinish() (err error) { runner.CrunchLog.Print("Waiting for container to finish") - waitOk, waitErr := runner.Docker.ContainerWait(context.TODO(), runner.ContainerID, "not-running") + waitOk, waitErr := runner.Docker.ContainerWait(context.TODO(), runner.ContainerID, dockercontainer.WaitConditionNotRunning) go func() { <-runner.ArvMountExit -- 2.30.2