Github user neykov commented on a diff in the pull request:
https://github.com/apache/incubator-brooklyn/pull/705#discussion_r33143409
--- Diff: core/src/main/java/brooklyn/entity/basic/BrooklynTaskTags.java ---
@@ -267,7 +267,12 @@ public static WrappedStream stream(Task<?> task,
String streamType) {
public static void setInessential(Task<?> task) {
addTagDynamically(task, INESSENTIAL_TASK); }
public static void setTransient(Task<?> task) {
addTagDynamically(task, TRANSIENT_TASK_TAG); }
- public static boolean isTransient(Task<?> task) { return hasTag(task,
TRANSIENT_TASK_TAG); }
+ public static boolean isTransient(Task<?> task) {
+ if (hasTag(task, TRANSIENT_TASK_TAG)) return true;
+ if (hasTag(task, NON_TRANSIENT_TASK_TAG)) return true;
--- End diff --
should be `return false`
---
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.
---