Skip to content

Commit

Permalink
en, zh: fix code typo in exceptions (#2547) (#2552)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Apr 13, 2024
1 parent 4d7b9f6 commit 23ffd14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion en/exceptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion zh/exceptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 23ffd14

Please sign in to comment.