Skip to content

Commit

Permalink
Merge pull request #145 from antoninrykalsky/fix/duplicity-metal-api
Browse files Browse the repository at this point in the history
fix: remove duplicity in metal_api
  • Loading branch information
t0mk committed Jan 9, 2024
2 parents ceecb49 + b8019c0 commit eb6ac72
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions plugins/module_utils/metal/metal_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ def extract_ids_from_projects_hrefs(resource: dict):
'spot_instance': optional_bool('spot_instance'),
'spot_price_max': optional_float('spot_price_max'),
'ssh_keys': 'ssh_keys',
'ssh_keys': 'ssh_keys',
'tags': 'tags',
'userdata': 'userdata',
}
Expand Down Expand Up @@ -111,7 +110,6 @@ def extract_ids_from_projects_hrefs(resource: dict):
'network': 'network',
'project_id': 'project.id',
'public': 'public',
'quantity': 'quantity',
'quantity': cidr_to_quantity('cidr'),
'tags': 'tags',
'type': 'type',
Expand Down Expand Up @@ -160,7 +158,6 @@ def get_assignment_address(resource: dict):

METAL_IP_ASSIGNMENT_RESPONSE_ATTRIBUTE_MAP = {
'id': 'id',
# 'customdata': 'customdata',
'management': 'management',
'address': get_assignment_address,
'cidr': 'cidr',
Expand Down

0 comments on commit eb6ac72

Please sign in to comment.