Github user geomacy commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/443#discussion_r88696685
--- Diff:
core/src/main/java/org/apache/brooklyn/entity/group/DynamicClusterImpl.java ---
@@ -825,8 +858,12 @@ protected Entity replaceMember(Entity member,
@Nullable Location memberLoc, Map<
addedEntities.add(entity);
addedEntityLocations.put(entity, loc);
if (entity instanceof Startable) {
+ boolean privileged = false;
+ if
(Boolean.TRUE.equals(entity.sensors().get(AbstractGroup.FIRST_MEMBER))) {
--- End diff --
Remind me why not just `privileged =
entity.sensors().get(AbstractGroup.FIRST_MEMBER)`?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---