Skip to content

Commit

Permalink
Issue 12267 static push can not push to some regions (#12446)
Browse files Browse the repository at this point in the history
* #12267 Solving issue with static push status. It got stuck in Publishing Bundle status

* #12267 Fixing issue related to static push status

* Removing commented lines
  • Loading branch information
nollymar authored and dsilvam committed Aug 29, 2017
1 parent a2fa6b6 commit 32b6901
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -296,11 +296,7 @@ private void updateAuditStatus() throws DotPublisherException, DotDataException
}
} else {
PublishAuditStatus pas = pubAuditAPI.getPublishAuditStatus(bundleAudit.getBundleId());
if (pas != null && pas.getStatus() == PublishAuditStatus.Status.BUNDLE_SENT_SUCCESSFULLY) {
countGroupFailed--;
} else if (pas != null && pas.getStatus().name().toLowerCase().startsWith("failed") && localHistory.getNumTries() >= MAX_NUM_TRIES) {
countGroupFailed++;
}
endpointTrackingMap.putAll(pas.getStatusPojo().getEndpointsMap());
}
}
}
Expand Down

0 comments on commit 32b6901

Please sign in to comment.