Skip to content

Commit

Permalink
Fix invalid attribute names
Browse files Browse the repository at this point in the history
  • Loading branch information
larsks committed Jan 24, 2025
1 parent 75d6644 commit 7c63cb1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions esiclient/v1/mdc/mdc_node_baremetal.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def take_action(self, parsed_args):
]
data = []

cloud_regions = openstack.config.loader.OpenStackConfig().get_all_clouds()
cloud_regions = openstack.config.loader.OpenStackConfig().get_all()
if parsed_args.clouds:
cloud_regions = filter(
lambda c: c.name in parsed_args.clouds, cloud_regions
Expand All @@ -62,12 +62,12 @@ def take_action(self, parsed_args):
[
c.name,
c.config["region_name"],
n.uuid,
n.id,
n.name,
n.instance_uuid,
n.instance_id,
n.power_state,
n.provision_state,
n.maintenance,
n.is_maintenance,
]
)

Expand Down

0 comments on commit 7c63cb1

Please sign in to comment.