Merge pull request #2023 from coreos-inc/fix-container-check
Fix container service status check
This commit is contained in:
commit
1bbc110280
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ function(ApiService, $timeout, Restangular) {
|
||||||
|
|
||||||
containerService.checkStatus = function(callback, opt_config) {
|
containerService.checkStatus = function(callback, opt_config) {
|
||||||
var errorHandler = function(resp) {
|
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.
|
// Container has not yet come back up, so we schedule another check.
|
||||||
containerService.scheduleStatusCheck(callback, opt_config);
|
containerService.scheduleStatusCheck(callback, opt_config);
|
||||||
return;
|
return;
|
||||||
|
|
Reference in a new issue