From a0cdf50ac68dbbed37197231e3d1bb0eba493bc2 Mon Sep 17 00:00:00 2001 From: Guilhem Lettron Date: Thu, 17 Mar 2022 16:01:40 +0100 Subject: [PATCH] fix: YAML indentation and highlighting --- .../update-api-object-kubectl-patch.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/en/docs/tasks/manage-kubernetes-objects/update-api-object-kubectl-patch.md b/content/en/docs/tasks/manage-kubernetes-objects/update-api-object-kubectl-patch.md index e6e33efe75..7b38703c74 100644 --- a/content/en/docs/tasks/manage-kubernetes-objects/update-api-object-kubectl-patch.md +++ b/content/en/docs/tasks/manage-kubernetes-objects/update-api-object-kubectl-patch.md @@ -189,11 +189,11 @@ kubectl get deployment patch-demo --output yaml The output shows that the PodSpec in the Deployment has only one Toleration: -```shell +```yaml tolerations: - - effect: NoSchedule - key: disktype - value: ssd +- effect: NoSchedule + key: disktype + value: ssd ``` Notice that the `tolerations` list in the PodSpec was replaced, not merged. This is because