Skip to content

Commit d522460

Browse files
committed
ignore a little error
Signed-off-by: cwen0 <[email protected]>
1 parent 8167678 commit d522460

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ kubectl apply -f deploy/
1212

1313
while [[ $(kubectl get pods -l app=web-show -o 'jsonpath={..status.conditions[?(@.type=="Ready")].status}') != "True" ]]; do echo "waiting for pod running" && sleep 1; done
1414

15-
kill $(lsof -t -i:8081)
15+
kill $(lsof -t -i:8081) 2>&1 >/dev/null | True
1616

1717
nohup kubectl port-forward svc/web-show 8081:8081 2>&1 &

0 commit comments

Comments
 (0)