From 448734c716ad6ea1e2f7259c11ce84f2cf6da09e Mon Sep 17 00:00:00 2001 From: Ananya Nayak Date: Tue, 19 Sep 2023 23:12:40 +0530 Subject: [PATCH] fix: update deprecated command --- .../debug/debug-application/get-shell-running-container.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/tasks/debug/debug-application/get-shell-running-container.md b/content/en/docs/tasks/debug/debug-application/get-shell-running-container.md index bb9eb50162..cf90240950 100644 --- a/content/en/docs/tasks/debug/debug-application/get-shell-running-container.md +++ b/content/en/docs/tasks/debug/debug-application/get-shell-running-container.md @@ -119,7 +119,7 @@ In an ordinary command window, not your shell, list the environment variables in the running container: ```shell -kubectl exec shell-demo env +kubectl exec shell-demo -- env ``` Experiment with running other commands. Here are some examples: