Skip to content

Commit 6e73990

Browse files
committed
test: always print initContainer logs
1 parent 79b3401 commit 6e73990

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

test/utils/blob_log.sh

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,13 @@ kubectl get pods -n${NS} -l${LABEL} \
5656
| awk 'NR>1 {print $1}' \
5757
| xargs -I {} kubectl logs {} --prefix -c${CONTAINER} -n${NS}
5858

59-
if [ -n "$ENABLE_BLOBFUSE_PROXY" ]; then
60-
echo "print out install-blobfuse-proxy logs ..."
61-
echo "======================================================================================"
62-
LABEL="app=csi-$DRIVER-node"
63-
PROXY=install-blobfuse-proxy
64-
kubectl get pods -n${NS} -l${LABEL} \
65-
| awk 'NR>1 {print $1}' \
66-
| xargs -I {} kubectl logs {} --prefix -c${PROXY} -n${NS}
67-
fi
59+
echo "print out install-blobfuse-proxy logs ..."
60+
echo "======================================================================================"
61+
LABEL="app=csi-$DRIVER-node"
62+
PROXY=install-blobfuse-proxy
63+
kubectl get pods -n${NS} -l${LABEL} \
64+
| awk 'NR>1 {print $1}' \
65+
| xargs -I {} kubectl logs {} --prefix -c${PROXY} -n${NS}
6866

6967
echo "======================================================================================"
7068
ip=`kubectl get svc csi-$DRIVER-controller -n kube-system | awk '{print $4}'`

0 commit comments

Comments
 (0)