Skip to content

Commit

Permalink
Do not scope MBeans queries on list_not_matching_attributes action
Browse files Browse the repository at this point in the history
  • Loading branch information
olivielpeau committed Jun 3, 2016
1 parent d36ed90 commit 26085a0
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 26085a0

Please sign in to comment.