Skip to content

Commit c6ff7aa

Browse files
committed
fix a shell command in examples
1 parent b9c88e7 commit c6ff7aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Here are some ideas for how to use init containers:
8383
* Wait for a {{< glossary_tooltip text="Service" term_id="service">}} to
8484
be created, using a shell one-line command like:
8585
```shell
86-
for i in {1..100}; do sleep 1; if dig myservice; then exit 0; fi; done; exit 1
86+
for i in {1..100}; do sleep 1; if nslookup myservice; then exit 0; fi; done; exit 1
8787
```
8888

8989
* Register this Pod with a remote server from the downward API with a command like:

0 commit comments

Comments
 (0)