Silence complaints from http_call when at end of 'weave hide'

This commit is contained in:
Bryan Boreham committed 2015-05-18 14:54:46 +01:00
1 parent 94c7e7f646
commit 7cf8234d9f
1 file changed
+1 -1
+1 -1
View File
@@ -946,7 +946,7 @@ case "$COMMAND" in
http_call $DNS_CONTAINER_NAME $DNS_HTTP_PORT DELETE /name/weave:expose/${CIDR%/*} 2>/dev/null || true
fi
done
http_call $CONTAINER_NAME $HTTP_PORT DELETE /ip/weave:expose > /dev/null && true
http_call $CONTAINER_NAME $HTTP_PORT DELETE /ip/weave:expose 2>/dev/null || true
;;
stop)
[ $# -eq 0 ] || usage