Skip to content

Commit

Permalink
Check command success for autodiscovery list.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Morgan committed Aug 3, 2009
1 parent dc650e4 commit d8ee38f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/org/hyperic/hq/hqapi1/tools/AutoDiscoveryCommand.java
Expand Up @@ -80,6 +80,7 @@ private void list(String[] args) throws Exception {
AutodiscoveryApi autodiscoveryApi = api.getAutodiscoveryApi();

QueueResponse queue = autodiscoveryApi.getQueue();
checkSuccess(queue);

XmlUtil.serialize(queue, System.out, Boolean.TRUE);
}
Expand Down

0 comments on commit d8ee38f

Please sign in to comment.