Skip to content

Commit

Permalink
use the file as is, don't append to it
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanlouisboudart committed Dec 4, 2017
1 parent ddfdece commit 21c45b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/run_curator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ACTION_FILE=/config/custom-actions.yml
RANCHER_BASEURL="rancher-metadata.rancher.internal/latest"

echo "Fetching curator custom actions"
curl -sf ${RANCHER_BASEURL}/self/service/metadata/curator-actions >> ${ACTION_FILE}
curl -sf ${RANCHER_BASEURL}/self/service/metadata/curator-actions > ${ACTION_FILE}

echo "Executing curator"
curator --config ${CONFIG_FILE} ${ACTION_FILE}

0 comments on commit 21c45b1

Please sign in to comment.