Skip to content

Commit

Permalink
Make changes to FFDC
Browse files Browse the repository at this point in the history
Signed-off-by: bharathappali <abharath@redhat.com>
  • Loading branch information
bharathappali committed Aug 10, 2023
1 parent 102545c commit 980784c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ffdc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function ffdc() {
pod_log="${log_dir}/kruize_pod_log.txt"
describe_log="${log_dir}/kruize_describe_pod_log.txt"

kruize_pod=$(kubectl get pod -n $namespace | grep $service | cut -d " " -f1)
kruize_pod=$(kubectl get pod -n $namespace | grep $service | grep -v "kruize-ui" | cut -d " " -f1)

kubectl describe pod ${kruize_pod} -n ${namespace} > ${describe_log} 2>&1
check_err "Error getting kubectl describe kruize pod log! Check ${describe_log} for details!"
Expand Down

0 comments on commit 980784c

Please sign in to comment.