Skip to content

Commit a1ddfa4

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "compute: Fix --host in server list for new openstacksdk" into stable/2024.2
2 parents 834bd93 + 773b869 commit a1ddfa4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

openstackclient/compute/v2/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2648,7 +2648,7 @@ def take_action(self, parsed_args):
26482648
'status': parsed_args.status,
26492649
'flavor': flavor_id,
26502650
'image': image_id,
2651-
'host': parsed_args.host,
2651+
'compute_host': parsed_args.host,
26522652
'project_id': project_id,
26532653
'all_projects': parsed_args.all_projects,
26542654
'user_id': user_id,

openstackclient/tests/unit/compute/v2/test_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4581,7 +4581,7 @@ def setUp(self):
45814581
'status': None,
45824582
'flavor': None,
45834583
'image': None,
4584-
'host': None,
4584+
'compute_host': None,
45854585
'project_id': None,
45864586
'all_projects': False,
45874587
'user_id': None,

0 commit comments

Comments
 (0)