Skip to content

Commit

Permalink
chore(spotless): upgrade spinnaker gradle plugin (#1765)
Browse files Browse the repository at this point in the history
  • Loading branch information
plumpy authored Jul 28, 2020
1 parent 32236f9 commit ac7f6b3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ fiatVersion=1.22.0
front50Version=2.21.0
korkVersion=7.56.0
org.gradle.parallel=true
spinnakerGradleVersion=8.3.0
spinnakerGradleVersion=8.4.0

# To enable a composite reference to a project, set the
# project property `'<projectName>Composite=true'`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -618,8 +618,10 @@ default RunningServiceDetails getRunningServiceDetails(

Set<String> healthyConsulInstances =
consulEnabled
? getConsulServerService().connectToPrimaryService(details, runtimeSettings)
.serviceHealth(getService().getCanonicalName(), true).stream()
? getConsulServerService()
.connectToPrimaryService(details, runtimeSettings)
.serviceHealth(getService().getCanonicalName(), true)
.stream()
.map(s -> s != null && s.getNode() != null ? s.getNode().getNodeName() : null)
.filter(Objects::nonNull)
.collect(Collectors.toSet())
Expand Down

0 comments on commit ac7f6b3

Please sign in to comment.