Skip to content

Commit

Permalink
Merge pull request #1080 from mskanth972/remove-echofro_debug
Browse files Browse the repository at this point in the history
Remove usage of 'echo' from log collector script
  • Loading branch information
k8s-ci-robot committed Jul 31, 2023
2 parents 3e4ddff + bd4ab2b commit 23f9f33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion troubleshooting/log_collector.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def execute(command, file, shell=False):
def collect_driver_files_under_dir(dir_name, file):
collect_driver_files_under_dir = (
f"kubectl exec {driver_pod_name} -n kube-system -c efs-plugin -- find {dir_name} "
+ r"-type f -exec echo {} \; -exec cat {} \; -exec echo \;"
+ r"-type f -exec ls {} \; -exec cat {} \;"
)
execute(command=collect_driver_files_under_dir, file=file)

Expand Down

0 comments on commit 23f9f33

Please sign in to comment.