Skip to content

Commit

Permalink
fix:(perturb): cleanup tmp files before scanning
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulmillais committed Sep 11, 2019
1 parent 9fae0c4 commit 7db6b9b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions simulation-scripts/perturb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ get_pods() {
local SLAVE_2
local MASTER_1

rm -rf "${TMP_FILE}*"

echo "${QUERY_DOCKER}" | run_ssh "$(get_master)" > "${TMP_FILE}"master
echo "${QUERY_DOCKER}" | run_ssh "$(get_slave 1)" > "${TMP_FILE}"slave-1
echo "${QUERY_DOCKER}" | run_ssh "$(get_slave 2)" > "${TMP_FILE}"slave-2
Expand Down

0 comments on commit 7db6b9b

Please sign in to comment.