Skip to content

Commit 88b1e22

Browse files
authored
Merge pull request #41974 from Arhell/ja-shell
[ja] Fix a shell command
2 parents 1f281f1 + 4fe4dd6 commit 88b1e22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Initコンテナを活用する方法について、いくつかのアイデア
5252

5353
* シェルコマンドを使って単一の{{< glossary_tooltip text="Service" term_id="service">}}が作成されるのを待機する。
5454
```shell
55-
for i in {1..100}; do sleep 1; if dig myservice; then exit 0; fi; done; exit 1
55+
for i in {1..100}; do sleep 1; if nslookup myservice; then exit 0; fi; done; exit 1
5656
```
5757

5858
* 以下のようなコマンドを使って下位のAPIからPodの情報をリモートサーバに登録する。

0 commit comments

Comments
 (0)