We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58605dc commit 79fb9c5Copy full SHA for 79fb9c5
tools/storage-scale-driver-snap.sh
@@ -121,8 +121,8 @@ function collect_csi_pod_logs()
121
fi
122
if [[ $previous != "False" ]]
123
then
124
- echo "Gather data for pod/${opPodName} --previous "
125
- $klog pod/"${opPodName}" -c ${containerName} > "$csi_pod_logs"/"${opPodName}"/"${containerName}"/"${opPodName}"-"${containerName}"-previous.log 2>&1 || :
+ echo "Gather data for pod/${opPodName} for container ${containerName} --previous "
+ $klog pod/"${opPodName}" -c ${containerName} --previous > "$csi_pod_logs"/"${opPodName}"/"${containerName}"/"${opPodName}"-"${containerName}"-previous.log 2>&1 || :
126
127
done
128
0 commit comments