Skip to content

Commit 5ff3eb0

Browse files
committed
[zh] fix: update deprecated command in code example
1 parent b9bb81d commit 5ff3eb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ variables in the running container:
161161
在普通的命令窗口(而不是 shell)中,打印环境运行容器中的变量:
162162

163163
```shell
164-
kubectl exec shell-demo env
164+
kubectl exec shell-demo -- env
165165
```
166166

167167
<!--

0 commit comments

Comments
 (0)