From 32e554d1d86e899517452353084d5a6064ef8f3c Mon Sep 17 00:00:00 2001 From: Ti Chi Robot Date: Sat, 13 Apr 2024 15:11:36 +0800 Subject: [PATCH] en, zh: fix code typo in exceptions (#2547) (#2551) --- en/exceptions.md | 2 +- zh/exceptions.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/en/exceptions.md b/en/exceptions.md index 3318ee6a20..edf9871887 100644 --- a/en/exceptions.md +++ b/en/exceptions.md @@ -52,7 +52,7 @@ Normally, when a TiKV Pod is in a healthy state (`Running`), the corresponding T {{< copyable "shell-regular" >}} ```shell - kubectl patch $(kubectl get pv -l app.kubernetes.io/instance=${release_name},tidb.pingcap.com/store-id=${store_id} -o name) -p '{"spec":{"persistentVolumeReclaimPolicy":"Delete"}} + kubectl patch $(kubectl get pv -l app.kubernetes.io/instance=${release_name},tidb.pingcap.com/store-id=${store_id} -o name) -p '{"spec":{"persistentVolumeReclaimPolicy":"Delete"}}' ``` 2. Remove the PVC used by the Pod: diff --git a/zh/exceptions.md b/zh/exceptions.md index 46ba196f62..de2ced2bab 100644 --- a/zh/exceptions.md +++ b/zh/exceptions.md @@ -52,7 +52,7 @@ summary: 介绍 TiDB 集群运行过程中常见异常以及处理办法。 {{< copyable "shell-regular" >}} ```shell - kubectl patch $(kubectl get pv -l app.kubernetes.io/instance=${cluster_name},tidb.pingcap.com/store-id=${store_id} -o name) -p '{"spec":{"persistentVolumeReclaimPolicy":"Delete"}} + kubectl patch $(kubectl get pv -l app.kubernetes.io/instance=${cluster_name},tidb.pingcap.com/store-id=${store_id} -o name) -p '{"spec":{"persistentVolumeReclaimPolicy":"Delete"}}' ``` 2. 删除 Pod 使用的 PVC: