From 1ef74de2ab2518be6d18e3c8386f39be6da91064 Mon Sep 17 00:00:00 2001 From: shub-asa1 <48909477+shub-asa1@users.noreply.github.com> Date: Wed, 23 Oct 2019 20:58:16 +0530 Subject: [PATCH] syntax error in a command fix (#16980) fix for issue #16972 --- content/en/docs/tasks/job/automated-tasks-with-cron-jobs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/tasks/job/automated-tasks-with-cron-jobs.md b/content/en/docs/tasks/job/automated-tasks-with-cron-jobs.md index 8ac406a2aa..ed6b2ab15e 100644 --- a/content/en/docs/tasks/job/automated-tasks-with-cron-jobs.md +++ b/content/en/docs/tasks/job/automated-tasks-with-cron-jobs.md @@ -114,7 +114,7 @@ The job name and pod name are different. ```shell # Replace "hello-4111706356" with the job name in your system -pods=$(kubectl get pods --selector=job-name=hello-4111706356 --output=jsonpath={.items[].metadata.name}) +pods=$(kubectl get pods --selector=job-name=hello-4111706356 --output=jsonpath={.items[*].metadata.name}) ``` Show pod log: