chore: add changelog

This commit is contained in:
Stefan Strigler 2023-03-09 09:52:07 +01:00
parent 1bcc5623ed
commit cf73aacd7b
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,9 @@
For operations on `bridges API` if `bridge-id` is unknown we now return `404`
instead of `400`. Also a bug was fixed that caused a crash if that was a node
operation. Additionally we now also check if the given bridge is enabled when
doing the cluster operation `start` . Affected endpoints:
* [cluster] `/bridges/:id/:operation`,
* [node] `/nodes/:node/bridges/:id/:operation`, where `operation` is one of
`[start|stop|restart]`.
Moreover, for a node operation, we check if node name is in our cluster and
return `404` instead of `501`.

View File

@ -0,0 +1,8 @@
现在对桥接的 API 进行调用时,如果 `bridge-id` 不存在,将会返回 `404`,而不再是`400`。
然后,还修复了这种情况下,在节点级别上进行 API 调用时,可能导致崩溃的问题。
另外,在启动某个桥接时,会先检查指定桥接是否已启用。
受影响的接口有:
* [cluster] `/bridges/:id/:operation`,
* [node] `/nodes/:node/bridges/:id/:operation`,
其中 `operation``[start|stop|restart]` 之一。
此外,对于节点操作,我们将检查节点是否存在于集群中,如果不在,则会返回`404`,而不再是`501`。