Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2 from pennsignals/fix_line_breaks
Browse files Browse the repository at this point in the history
fix line breaks in config files
  • Loading branch information
darrylmendillo authored Dec 7, 2020
2 parents 8de7754 + 9f36e22 commit 9161092
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/submit_to_consul.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ put_config() {
FILE_NAME=$(echo ${FILE##*/} | sed 's/'"$DEPLOY"'/config/')

# write config file at $CONSUL_PATH
echo "curl -fX PUT -d @$FILE $ADDRESS/$CONSUL_PATH/$SERVICE/$FILE_NAME"
/usr/bin/curl -fX PUT -d @$FILE $ADDRESS/$CONSUL_PATH/$SERVICE/$FILE_NAME
echo "curl -fX PUT --data-binary @$FILE $ADDRESS/$CONSUL_PATH/$SERVICE/$FILE_NAME"
/usr/bin/curl -fX PUT --data-binary @$FILE $ADDRESS/$CONSUL_PATH/$SERVICE/$FILE_NAME

}

Expand Down

0 comments on commit 9161092

Please sign in to comment.