We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e62180 commit a1e3fefCopy full SHA for a1e3fef
1 file changed
telegraf/rootfs/start-telegraf
@@ -29,6 +29,11 @@ if [ -n "$ENABLE_PROMETHEUS" ]; then
29
echo "Setting PROMETHEUS_URLS: $PROMETHEUS_URLS"
30
fi
31
32
+# if the influxdb url does not start with a quote, assume it's singular and quote it
33
+if [ ${INFLUXDB_URLS:0:1} != "\"" ]; then
34
+ export INFLUXDB_URLS="\"$INFLUXDB_URLS\""
35
+fi
36
+
37
echo "Building config.toml!"
38
envtpl -in config.toml.tpl | sed '/^$/d' > config.toml
39
0 commit comments