Skip to content

Commit

Permalink
fix(titus): use labels as override only for titus health providers (#…
Browse files Browse the repository at this point in the history
…3221)

Today, when determining health providers on Titus, we look at the labels on the source server group.
For AWS, we look at front50 if the app has the platform only override set.
Make Titus work similarly but allow the labels to be used as override (if they exist)
  • Loading branch information
marchello2000 committed Oct 9, 2019
1 parent fd18516 commit 37a306a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ public TaskResult execute(Stage stage) {
if (interestingHealthProviderNames != null) {
// avoid a `null` value that may cause problems with ImmutableMap usage downstream
results.put("interestingHealthProviderNames", interestingHealthProviderNames);
}

return TaskResult.builder(ExecutionStatus.SUCCEEDED).context(results).build();
return TaskResult.builder(ExecutionStatus.SUCCEEDED).context(results).build();
}
}

if (stage.getContext().containsKey("interestingHealthProviderNames")) {
Expand Down

0 comments on commit 37a306a

Please sign in to comment.