Skip to content

Commit

Permalink
Merge pull request #102 from DataDog/olivielpeau/fix-mbeans-scope-action
Browse files Browse the repository at this point in the history
Do not scope MBeans queries on `list_not_matching_attributes` action
  • Loading branch information
olivielpeau authored Jun 17, 2016
2 parents d36ed90 + 26085a0 commit a20dba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/datadog/jmxfetch/Instance.java
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ public LinkedList<String> getBeansScopes(){
private void refreshBeansList() throws IOException {
this.beans = new HashSet<ObjectName>();
String action = appConfig.getAction();
Boolean limitQueryScopes = !action.equals(AppConfig.ACTION_LIST_EVERYTHING) && !action.equals(AppConfig.ACTION_LIST_EVERYTHING);
Boolean limitQueryScopes = !action.equals(AppConfig.ACTION_LIST_EVERYTHING) && !action.equals(AppConfig.ACTION_LIST_NOT_MATCHING);

if (limitQueryScopes) {
try {
Expand Down

0 comments on commit a20dba9

Please sign in to comment.