Permalink
Browse files

Adds an extra line.

This fixes that.
  • Loading branch information...
darron committed May 25, 2015
1 parent 0815d65 commit 05f9167248709746a153d9e23626af9ea9a8ef15
Showing with 1 addition and 1 deletion.
  1. +1 −1 files/default/consulkv
View
@@ -21,7 +21,7 @@ main() {
curl -s "$CONSUL_SERVER/v1/kv/$2?token=$CONSUL_TOKEN" | jq -r .[]
;;
get)
- curl -s "$CONSUL_SERVER/v1/kv/$2?token=$CONSUL_TOKEN" | jq -r .[].Value | base64 -d | sed 's/$/\n/'
+ curl -s "$CONSUL_SERVER/v1/kv/$2?token=$CONSUL_TOKEN" | jq -r .[].Value | base64 -d
;;
set)
curl -s -X PUT -d "$3" "$CONSUL_SERVER/v1/kv/$2?token=$CONSUL_TOKEN" > /dev/null

0 comments on commit 05f9167

Please sign in to comment.