From 08c5196d1bd3d38547b2888df1428ff0bcdf4b0a Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 23 Aug 2024 11:10:30 +0200 Subject: [PATCH] updated kubectl_pods_dump_jstacks.sh --- kubernetes/kubectl_pods_dump_jstacks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubernetes/kubectl_pods_dump_jstacks.sh b/kubernetes/kubectl_pods_dump_jstacks.sh index 038bc9d8366..664c03dfb27 100755 --- a/kubernetes/kubectl_pods_dump_jstacks.sh +++ b/kubernetes/kubectl_pods_dump_jstacks.sh @@ -95,7 +95,7 @@ while read -r pod; do timestamp "Copying /tmp/jstack-output.txt to local machine" && kubectl cp "$pod":/tmp/jstack-output.txt "$output_file" && timestamp "Dumped pod jstack to file: $output_file" || - warn "Failed to collect for pod '$pod'" + warn "Failed to collect jstack for pod '$pod'" # XXX: because race condition - pods can go away during execution and we still want to collect the rest of the pods done timestamp "JStack dumps completed"