From 6837fbdb1904a871a9c359411c259ece8006507f Mon Sep 17 00:00:00 2001 From: Nikita Sapozhnikov Date: Thu, 13 Jul 2017 11:06:11 +0100 Subject: [PATCH] Curly braces was added to host.address injection --- .../micro/server/datadog/metrics/DatadogMetricsConfigurer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/micro-metrics-datadog/src/main/java/com/aol/micro/server/datadog/metrics/DatadogMetricsConfigurer.java b/micro-metrics-datadog/src/main/java/com/aol/micro/server/datadog/metrics/DatadogMetricsConfigurer.java index ac771c830..2b2430236 100644 --- a/micro-metrics-datadog/src/main/java/com/aol/micro/server/datadog/metrics/DatadogMetricsConfigurer.java +++ b/micro-metrics-datadog/src/main/java/com/aol/micro/server/datadog/metrics/DatadogMetricsConfigurer.java @@ -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("")