Fix extra double quotation mark

Signed-off-by: Lan Luo <luolanzone@gmail.com>
pull/32574/head
Lan Luo 2022-03-28 21:07:51 +08:00
parent df12f23ec4
commit a4196f77f5
1 changed files with 2 additions and 2 deletions

View File

@ -613,10 +613,10 @@ The following commands are equivalent:
以下命令是等价的:
```shell
kubectl patch deployment patch-demo --patch-file patch-file.yaml"
kubectl patch deployment patch-demo --patch-file patch-file.yaml
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-file patch-file.json"
kubectl patch deployment patch-demo --patch-file patch-file.json
kubectl patch deployment patch-demo --patch '{"spec": {"template": {"spec": {"containers": [{"name": "patch-demo-ctr-2","image": "redis"}]}}}}'
```