Skip to content

Commit 902119c

Browse files
authored
Merge pull request #41985 from Arhell/id-shell
[id] Fix a shell command
2 parents 47dfdcd + cb0bfaf commit 902119c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/id/docs/concepts/workloads/pods/init-containers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Berikut beberapa contoh kasus penggunaan Init Container:
4949

5050
* Menunggu sebuah Service untuk dibuat dengan perintah _shell_ seperti:
5151

52-
for i in {1..100}; do sleep 1; if dig myservice; then exit 0; fi; done; exit 1
52+
for i in {1..100}; do sleep 1; if nslookup myservice; then exit 0; fi; done; exit 1
5353

5454
* Mendaftarkan suatu Pod ke sebuah peladen terpisah dari _downward API_ dengan perintah seperti:
5555

0 commit comments

Comments
 (0)