Generate cluster client from API specs (#530)

Signed-off-by: saimedhi <[email protected]>
This commit is contained in:
Sai Medhini Reddy Maryada
2023-10-09 17:57:09 -04:00
committed by GitHub
parent 388fb9d983
commit ce835fb59d
6 changed files with 765 additions and 236 deletions
+6
View File
@@ -502,6 +502,12 @@ def read_modules():
if p["x-operation-group"] != "nodes.hot_threads" and "type" in params_new:
params_new.pop("type")
if (
p["x-operation-group"] == "cluster.health"
and "ensure_node_commissioned" in params_new
):
params_new.pop("ensure_node_commissioned")
if bool(params_new):
p.update({"params": params_new})