Skip to content

Commit 08e0d63

Browse files
authored
Merge pull request #43115 from Ananya2001-an/patch-1
fix: update deprecated command in code example
2 parents 4700f63 + ad68e2d commit 08e0d63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/en/docs/tasks/debug/debug-application/get-shell-running-container.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ In an ordinary command window, not your shell, list the environment
119119
variables in the running container:
120120

121121
```shell
122-
kubectl exec shell-demo env
122+
kubectl exec shell-demo -- env
123123
```
124124

125125
Experiment with running other commands. Here are some examples:

0 commit comments

Comments
 (0)