Skip to content

Commit

Permalink
removed special characters
Browse files Browse the repository at this point in the history
  • Loading branch information
KarineValenca authored and eabili0 committed Sep 17, 2020
1 parent 7d77181 commit 5a847cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ fi

if [[ "$ALERT_MANAGER_URLS" != "" ]]; then
sed -i -e 's;$ALERT_RULES_FILE;'"- $ALERT_RULES_FILE"';g' "/prometheus.yml.tmpl"
sed -i "/alerting/,/ - targets: ['$ALERT_MANAGER_URLS']/d" "/prometheus.yml.tmpl"
sed -i "/alerting/,/targets: /d" "/prometheus.yml.tmpl"
cat >> "/prometheus.yml.tmpl" <<- EOM
alerting:
Expand Down

0 comments on commit 5a847cd

Please sign in to comment.