fix #24 - support both branch refs and hash refs

This commit is contained in:
Casey Lee
2019-01-31 00:18:52 -08:00
parent ecae898a7b
commit bc5c23e8e4
4 changed files with 32 additions and 10 deletions

View File

@@ -204,7 +204,7 @@ func waitContainer(input NewDockerRunExecutorInput, cli *client.Client, containe
if statusCode == 0 {
return nil
} else if statusCode == 78 {
return fmt.Errorf("exiting with `NEUTRAL`: 78")
return fmt.Errorf("exit with `NEUTRAL`: 78")
}
return fmt.Errorf("exit with `FAILURE`: %v", statusCode)