Check for 502s as well
This commit is contained in:
parent
0d2c42ad03
commit
511c607bbb
1 changed files with 1 additions and 1 deletions
|
@ -3038,7 +3038,7 @@ function SuperUserAdminCtrl($scope, $timeout, ApiService, Features, UserService,
|
||||||
|
|
||||||
$scope.checkContainerStatus = function() {
|
$scope.checkContainerStatus = function() {
|
||||||
var errorHandler = function(resp) {
|
var errorHandler = function(resp) {
|
||||||
if (resp.status == 404 && $scope.configStep == 'valid-database') {
|
if ((resp.status == 404 || resp.status == 502) && $scope.configStep == 'valid-database') {
|
||||||
// Container has not yet come back up, so we schedule another check.
|
// Container has not yet come back up, so we schedule another check.
|
||||||
$scope.waitForValidConfig();
|
$scope.waitForValidConfig();
|
||||||
return;
|
return;
|
||||||
|
|
Reference in a new issue