1
0
Fork 0

fixed arangom with new etcd API

This commit is contained in:
Jan Steemann 2013-12-10 13:26:07 +01:00
parent b6e062030a
commit dd5a3a9e60
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ function set() {
value=$2
if [ "x$value" == "x" ] ; then
echo "Creating directory $PREFIX$key"
$CURL -X PUT "$URL$key" > /dev/null || exit 1
$CURL -X PUT "$URL$key?dir=true" > /dev/null || exit 1
else
echo "Setting key $PREFIX$key to value $value"
$CURL -X PUT "$URL$key" -d "value=$value" > /dev/null || exit 1