Skip to content

Commit

Permalink
change condition
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault_falque committed Aug 18, 2017
1 parent 05c5f0e commit 5bb7563
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public void describe(SensorDescriptor descriptor) {
@Override
public void execute(SensorContext context) {

if (context.settings().getBoolean(GoProperties.HIGHLIGHTING_KEY)) {
if (!context.settings().getBoolean(GoProperties.HIGHLIGHTING_KEY)) {
LOGGER.info("highlighting disabled");
return;
}
Expand Down

0 comments on commit 5bb7563

Please sign in to comment.