Skip to content

Commit 8024865

Browse files
author
Jonathan Chauncey
authored
Merge pull request #128 from sstarcher/patch-2
fix(telegraf) queue always gets created
2 parents 7dd5da8 + 8c3afc6 commit 8024865

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

telegraf/rootfs/start-telegraf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22
set -e
33

4-
if [ -n $DEIS_NSQD_SERVICE_HOST ]; then
4+
if [ -n "$DEIS_NSQD_SERVICE_HOST" ]; then
55
echo "Creating topic with URL: http://$DEIS_NSQD_SERVICE_HOST:$DEIS_NSQD_SERVICE_PORT/topic/create?topic=$NSQ_CONSUMER_TOPIC"
66
curl -s -X POST http://$DEIS_NSQD_SERVICE_HOST:$DEIS_NSQD_SERVICE_PORT/topic/create?topic=$NSQ_CONSUMER_TOPIC
77
fi

0 commit comments

Comments
 (0)