Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Commit

Permalink
Revert "[BZ 1207276] Removing platform does not cause additional ques…
Browse files Browse the repository at this point in the history
…tion"

This reverts commit 6459ce9.
  • Loading branch information
Michael Burman committed Jun 24, 2015
1 parent 6459ce9 commit 74146da
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -222,7 +222,8 @@ public void onSuccess(List<Integer> result) {

private boolean containsStorageNodeOrItsResource(ListGridRecord[] selection) {
for (ListGridRecord record : selection) {
if ("RHQStorage".equals(record.getAttribute(PLUGIN.propertyName()))) {
if (record.getAttribute(AncestryUtil.RESOURCE_ANCESTRY) == null
|| "RHQStorage".equals(record.getAttribute(PLUGIN.propertyName()))) {
// is a platform, storage node or child resource of storage node
return true;
}
Expand Down

0 comments on commit 74146da

Please sign in to comment.