Merge "compute: Fix flavor create --id auto" · openstack/python-openstackclient@34f431b · GitHub
Skip to content

Commit 34f431b

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "compute: Fix flavor create --id auto"
2 parents a312e9c + 5feaa95 commit 34f431b

3 files changed

Lines changed: 21 additions & 2 deletions

File tree

openstackclient/compute/v2/flavor.py

Lines changed: 14 additions & 1 deletion

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def test_flavor_create_other_options(self):
247247
'ram': self.flavor.ram,
248248
'vcpus': self.flavor.vcpus,
249249
'disk': self.flavor.disk,
250-
'id': 'auto',
250+
'id': None,
251251
'ephemeral': self.flavor.ephemeral,
252252
'swap': self.flavor.swap,
253253
'rxtx_factor': self.flavor.rxtx_factor,
Lines changed: 6 additions & 0 deletions

0 commit comments

Comments
 (0)