From 21c45b1937815a8de05a0363dd7a69c0fe1279c9 Mon Sep 17 00:00:00 2001 From: jeanlouisboudart Date: Mon, 4 Dec 2017 13:39:42 +0100 Subject: [PATCH] use the file as is, don't append to it --- scripts/run_curator.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run_curator.sh b/scripts/run_curator.sh index e3aacac..a9b6b9f 100755 --- a/scripts/run_curator.sh +++ b/scripts/run_curator.sh @@ -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}