Skip to content

Commit

Permalink
remove pl keys from results
Browse files Browse the repository at this point in the history
  • Loading branch information
keegoid-nr committed Feb 5, 2021
1 parent 047d97d commit 3534fb7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cki.sh
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ cki_kubectl() {
[ $CKI_DEBUG -eq 1 ] && cki_notify3 "aligned step=$alignedStep"

# remove file if it already exists
rm --preserve-root "$path"
rm --preserve-root "$path" 2>/dev/null
echo

for res in "${commands[@]}"
Expand All @@ -318,6 +318,9 @@ cki_kubectl() {
cnt=$(( cnt + 1 ))
done

# remove any private location keys from results
sed -i -e 's/[[:alpha:]]\{4\}-[[:alpha:]]\{2\}[[:alnum:]]\{33\}/~~~REMOVED~~~/g' "$path"

cki_progress_bar 100
echo -ne '\n'
cki_handle_error "$path"
Expand Down

0 comments on commit 3534fb7

Please sign in to comment.