Skip to content

Commit bd4554d

Browse files
committed
fix typo in debug-init-containers.md
1 parent a554c9b commit bd4554d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/en/docs/tasks/debug/debug-application/debug-init-containers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,11 @@ You can also access the Init Container statuses programmatically by reading the
9292

9393

9494
```shell
95-
kubectl get pod nginx --template '{{.status.initContainerStatuses}}'
95+
kubectl get pod <pod-name> --template '{{.status.initContainerStatuses}}'
9696
```
9797

9898

99-
This command will return the same information as above in raw JSON.
99+
This command will return the same information as above, formatted using a [Go template](https://pkg.go.dev/text/template).
100100

101101
## Accessing logs from Init Containers
102102

0 commit comments

Comments
 (0)