Skip to content

Commit

Permalink
refactor by CR
Browse files Browse the repository at this point in the history
  • Loading branch information
chunshao90 committed Jan 22, 2024
1 parent a908f05 commit 502e832
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/src/cn/operation/horaemeta.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ curl --location 'http://127.0.0.1:8080/api/v1/clusters' \
"name":"testCluster",
"nodeCount":3,
"ShardTotal":9,
"enableScheduler":true,
"enableSchedule":true,
"topologyType":"static"
}'
```
Expand All @@ -133,7 +133,7 @@ curl --location --request PUT 'http://127.0.0.1:8080/api/v1/clusters/{NewCluster
curl --location 'http://127.0.0.1:8080/api/v1/clusters'
```

- 修改 enableSchedule
- 修改 `enableSchedule`

```
curl --location --request PUT 'http://127.0.0.1:8080/api/v1/clusters/{ClusterName}/enableSchedule' \
Expand All @@ -143,7 +143,7 @@ curl --location --request PUT 'http://127.0.0.1:8080/api/v1/clusters/{ClusterNam
}'
```

- 查询 enableSchedule
- 查询 `enableSchedule`

```
curl --location 'http://127.0.0.1:8080/api/v1/clusters/{ClusterName}/enableSchedule'
Expand Down
4 changes: 2 additions & 2 deletions docs/src/en/operation/horaemeta.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ curl --location --request PUT 'http://127.0.0.1:8080/api/v1/clusters/{NewCluster
curl --location 'http://127.0.0.1:8080/api/v1/clusters'
```

- Update enableSchedule
- Update `enableSchedule`

```
curl --location --request PUT 'http://127.0.0.1:8080/api/v1/clusters/{ClusterName}/enableSchedule' \
Expand All @@ -141,7 +141,7 @@ curl --location --request PUT 'http://127.0.0.1:8080/api/v1/clusters/{ClusterNam
}'
```

- Query enableSchedule
- Query `enableSchedule`

```
curl --location 'http://127.0.0.1:8080/api/v1/clusters/{ClusterName}/enableSchedule'
Expand Down

0 comments on commit 502e832

Please sign in to comment.