Skip to content

Commit b305fda

Browse files
authored
Merge pull request #41157 from able8/fix-a-shell-command-in-examples
Fix a shell command in examples of "Init Containers" page
2 parents 8546f19 + c6ff7aa commit b305fda

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)