Fix container service status check
It appears Chrome changed the status code returned when it cannot connect
This commit is contained in:
parent
a74e94fb67
commit
d2bc8722c9
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ function(ApiService, $timeout, Restangular) {
|
|||
|
||||
containerService.checkStatus = function(callback, opt_config) {
|
||||
var errorHandler = function(resp) {
|
||||
if (resp.status == 404 || resp.status == 502) {
|
||||
if (resp.status == 404 || resp.status == 502 || resp.status == -1) {
|
||||
// Container has not yet come back up, so we schedule another check.
|
||||
containerService.scheduleStatusCheck(callback, opt_config);
|
||||
return;
|
||||
|
|
Reference in a new issue