diff --git a/troubleshooting/log_collector.py b/troubleshooting/log_collector.py index b7bbc9c97..a09998c04 100644 --- a/troubleshooting/log_collector.py +++ b/troubleshooting/log_collector.py @@ -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)