return the recoverable err

This commit is contained in:
Alex Dadgar
2017-03-14 16:33:36 -07:00
parent c579f6163f
commit 0e61a36564

View File

@@ -1103,7 +1103,7 @@ CREATE:
} else if strings.Contains(strings.ToLower(createErr.Error()), "no such image") {
// There is still a very small chance this is possible even with the
// coordinator so retry.
structs.NewRecoverableError(createErr, true)
return nil, structs.NewRecoverableError(createErr, true)
}
return nil, recoverableErrTimeouts(createErr)