We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7dd5da8 commit 8c3afc6Copy full SHA for 8c3afc6
1 file changed
telegraf/rootfs/start-telegraf
@@ -1,7 +1,7 @@
1
#!/bin/sh
2
set -e
3
4
-if [ -n $DEIS_NSQD_SERVICE_HOST ]; then
+if [ -n "$DEIS_NSQD_SERVICE_HOST" ]; then
5
echo "Creating topic with URL: http://$DEIS_NSQD_SERVICE_HOST:$DEIS_NSQD_SERVICE_PORT/topic/create?topic=$NSQ_CONSUMER_TOPIC"
6
curl -s -X POST http://$DEIS_NSQD_SERVICE_HOST:$DEIS_NSQD_SERVICE_PORT/topic/create?topic=$NSQ_CONSUMER_TOPIC
7
fi
0 commit comments