diff --git a/docs/concepts/workloads/pods/init-containers.md b/docs/concepts/workloads/pods/init-containers.md index 9d014b8019..b1b7120d46 100644 --- a/docs/concepts/workloads/pods/init-containers.md +++ b/docs/concepts/workloads/pods/init-containers.md @@ -75,7 +75,7 @@ Here are some ideas for how to use Init Containers: * Wait for a service to be created with a shell command like: - for i in {1..100}; do sleep 1; if dig myservice; then exit 0; fi; exit 1 + for i in {1..100}; do sleep 1; if dig myservice; then exit 0; fi; done; exit 1 * Register this Pod with a remote server from the downward API with a command like: