Skip to content

Commit

Permalink
controllers/nodes: add missing records for return objects
Browse files Browse the repository at this point in the history
On teuthology side at least for vms the lock/unlock mechanism still
needs some records in return object like machine_type and is_vm.

Fixes: fb1c596
Signed-off-by: Kyr Shatskyy <[email protected]>
  • Loading branch information
Kyr Shatskyy committed Aug 1, 2024
1 parent 388a1a4 commit ad9afcd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions paddles/controllers/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,8 @@ def _lock(node_obj, node_dict, verb):
name=node_obj.name,
locked=node_obj.locked,
locked_by=node_obj.locked_by,
machine_type=node_obj.machine_type,
is_vm=node_obj.is_vm,
)

@expose('json')
Expand Down

0 comments on commit ad9afcd

Please sign in to comment.