Skip to content

Commit

Permalink
Merge pull request #360 from aol/micro-datadog-metrics-hostname-fix
Browse files Browse the repository at this point in the history
Curly braces was added to host.address injection
  • Loading branch information
morrowgi authored Jul 19, 2017
2 parents ed1093f + 6837fbd commit ee439ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public DatadogMetricsConfigurer(@Value("${datadog.apikey}") String apiKey,
@Value("${datadog.tags:{\"stage:dev\"}}") String tags, @Value("${datadog.report.period:1}") int period,
@Value("${datadog.report.timeunit:SECONDS}") TimeUnit timeUnit,
@Value("${datadog.report.expansions:#{null}}") String expStr,
@Value("${host.address:#{null}") String host){
@Value("${host.address:#{null}}") String host){
this.apiKey = apiKey;
this.tags = Arrays.asList(Optional.ofNullable(tags)
.orElse("")
Expand Down

0 comments on commit ee439ff

Please sign in to comment.