Merge pull request #2023 from coreos-inc/fix-container-check

Fix container service status check
This commit is contained in:
josephschorr 2016-10-21 15:25:50 -04:00 committed by GitHub
commit 1bbc110280

View file

@ -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;