Skip to content

Commit

Permalink
#38 Groups should be deleted at the end of an undeploy
Browse files Browse the repository at this point in the history
  • Loading branch information
rjrudin committed Aug 3, 2015
1 parent 3af8fee commit 5554be0
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,13 @@ protected ResourceManager getResourceManager(CommandContext context) {
return new GroupManager(context.getManageClient());
}

/**
* While groups should be created right away, we don't want to undelete them until the very end, as we won't be
* able to delete one unless all of its app servers have been deleted.
*/
@Override
public Integer getUndoSortOrder() {
return Integer.MAX_VALUE;
}

}

0 comments on commit 5554be0

Please sign in to comment.