mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
fn: container init timeout should be a 504 (#1329)
Too-Busy 503 is a retriable error, this error should be 504 instead.
This commit is contained in:
@@ -41,7 +41,7 @@ var (
|
||||
error: errors.New("Docker pull timed out"),
|
||||
}
|
||||
ErrContainerInitTimeout = err{
|
||||
code: http.StatusServiceUnavailable,
|
||||
code: http.StatusGatewayTimeout,
|
||||
error: errors.New("Container initialization timed out, please ensure you are using the latest fdk / format and check the logs"),
|
||||
}
|
||||
ErrUnsupportedMediaType = err{
|
||||
|
||||
Reference in New Issue
Block a user