Skip to content

Commit

Permalink
break warn log for lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tbavelier committed Aug 23, 2024
1 parent cc04c6a commit eac6991
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/org/datadog/jmxfetch/Instance.java
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,9 @@ public Instance(
try {
this.maxReturnedMetrics = Integer.parseInt((String) maxReturnedMetrics);
} catch (NumberFormatException e) {
log.warn("Cannot convert max_returned_metrics to integer in your instance configuration. Defaulting to '{}'.", MAX_RETURNED_METRICS);
log.warn(
"Cannot convert max_returned_metrics to integer in your instance configuration. Defaulting to '{}'.",
MAX_RETURNED_METRICS);
this.maxReturnedMetrics = MAX_RETURNED_METRICS;
}
} else {
Expand Down

0 comments on commit eac6991

Please sign in to comment.