From 5ff3eb0e2fa4a3be34f954c4d6a81b45c8b39ea8 Mon Sep 17 00:00:00 2001 From: Arhell Date: Sun, 15 Oct 2023 01:29:33 +0300 Subject: [PATCH] [zh] fix: update deprecated command in code example --- .../debug/debug-application/get-shell-running-container.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/zh-cn/docs/tasks/debug/debug-application/get-shell-running-container.md b/content/zh-cn/docs/tasks/debug/debug-application/get-shell-running-container.md index 193301b42d92e..17a37bce4bec0 100644 --- a/content/zh-cn/docs/tasks/debug/debug-application/get-shell-running-container.md +++ b/content/zh-cn/docs/tasks/debug/debug-application/get-shell-running-container.md @@ -161,7 +161,7 @@ variables in the running container: 在普通的命令窗口(而不是 shell)中,打印环境运行容器中的变量: ```shell -kubectl exec shell-demo env +kubectl exec shell-demo -- env ```