From cd62dbf71f6a4f87cdb57c213dd0c23eb8b20f51 Mon Sep 17 00:00:00 2001 From: praveen-kg <33170646+praveen-kg@users.noreply.github.com> Date: Mon, 19 Aug 2019 12:01:30 +0200 Subject: [PATCH] Update update-api-object-kubectl-patch.md (#15923) --- .../tasks/run-application/update-api-object-kubectl-patch.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/tasks/run-application/update-api-object-kubectl-patch.md b/content/en/docs/tasks/run-application/update-api-object-kubectl-patch.md index 3c59c00e06..81007d63a4 100644 --- a/content/en/docs/tasks/run-application/update-api-object-kubectl-patch.md +++ b/content/en/docs/tasks/run-application/update-api-object-kubectl-patch.md @@ -311,7 +311,7 @@ The following commands are equivalent: ```shell -kubectl patch deployment patch-demo --patch "$(cat patch-file.yaml)" +kubectl patch deployment patch-demo --patch "$(cat patch-file.json)" kubectl patch deployment patch-demo --patch 'spec:\n template:\n spec:\n containers:\n - name: patch-demo-ctr-2\n image: redis' kubectl patch deployment patch-demo --patch "$(cat patch-file.json)"