Skip to content

Commit 49c7523

Browse files
authored
Update updateCcdbConsul.sh
Avoid updating repo cleaner config file when updating consul files
1 parent ea7ad31 commit 49c7523

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Framework/script/updateCcdbConsul.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ for ((nodeIndex = 0; nodeIndex < ${#HEAD_NODES[@]}; nodeIndex++)); do
4949
# for each file
5050
for file in "${array_files[@]}"; do
5151
echo "file: $file"
52+
# avoid touching the repo cleaner file
53+
if [[ $file == *repoCleanerConfig.yaml* ]]; then
54+
echo " it is the repo cleaner config file, we skip it"
55+
continue
56+
fi
5257

5358
# download
5459
local_file=$(basename $file)

0 commit comments

Comments
 (0)