style: fix wording
This commit is contained in:
parent
c1adf0de1f
commit
18c3b9bb1c
|
@ -5,5 +5,5 @@ doing the cluster operation `start` . Affected endpoints:
|
||||||
* [cluster] `/bridges/:id/:operation`,
|
* [cluster] `/bridges/:id/:operation`,
|
||||||
* [node] `/nodes/:node/bridges/:id/:operation`, where `operation` is one of
|
* [node] `/nodes/:node/bridges/:id/:operation`, where `operation` is one of
|
||||||
`[start|stop|restart]`.
|
`[start|stop|restart]`.
|
||||||
Moreover, for a node operation, we check if node name is in our cluster and
|
Moreover, for a node operation, EMQX checks if node name is in our cluster and
|
||||||
return `404` instead of `501`.
|
return `404` instead of `501`.
|
||||||
|
|
|
@ -5,4 +5,4 @@
|
||||||
* [cluster] `/bridges/:id/:operation`,
|
* [cluster] `/bridges/:id/:operation`,
|
||||||
* [node] `/nodes/:node/bridges/:id/:operation`,
|
* [node] `/nodes/:node/bridges/:id/:operation`,
|
||||||
其中 `operation` 是 `[start|stop|restart]` 之一。
|
其中 `operation` 是 `[start|stop|restart]` 之一。
|
||||||
此外,对于节点操作,我们将检查节点是否存在于集群中,如果不在,则会返回`404`,而不再是`501`。
|
此外,对于节点操作,EMQX 将检查节点是否存在于集群中,如果不在,则会返回`404`,而不再是`501`。
|
||||||
|
|
Loading…
Reference in New Issue