Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreYang committed Mar 16, 2020
1 parent 979549f commit a4a17db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/main/java/org/datadog/jmxfetch/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,8 @@ private void sendServiceCheck(
String checkName = instance.getCheckName();
String serviceCheckName = getServiceCheckName(instance);

reporter.sendServiceCheck(checkName, serviceCheckName, status, message, instance.getServiceCheckTags());
reporter.sendServiceCheck(
checkName, serviceCheckName, status, message, instance.getServiceCheckTags());
reporter.resetServiceCheckCount(checkName);
}

Expand Down
3 changes: 2 additions & 1 deletion src/main/java/org/datadog/jmxfetch/reporter/Reporter.java
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ public void sendMetrics(List<Metric> metrics, String instanceName, boolean canon
}

/** Submits service check. */
public void sendServiceCheck(String checkName, String serviceCheckName, String status, String message, String[] tags) {
public void sendServiceCheck(String checkName, String serviceCheckName,
String status, String message, String[] tags) {
this.incrementServiceCheckCount(checkName);
this.doSendServiceCheck(serviceCheckName, status, message, tags);
}
Expand Down

0 comments on commit a4a17db

Please sign in to comment.