Skip to content

Commit

Permalink
fix(entitytags): Do not fetch previous server group for Titus (#1712)
Browse files Browse the repository at this point in the history
Subsequent PR will make this work properly for Titus.
  • Loading branch information
ajordens authored Oct 18, 2017
1 parent c29ec72 commit 9dadd41
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ Map<String, Object> getPreviousServerGroup(String application,
String cluster,
String cloudProvider,
String location) {
if (cloudProvider.equals("titus")) {
// TODO-AJ titus does not force cache refresh so `ANCESTOR` will return inconsistent results
return null;
}

return retrySupport.retry(() -> {
try {
Map<String, Object> targetServerGroup = oortService.getServerGroupSummary(
Expand Down

0 comments on commit 9dadd41

Please sign in to comment.