mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Merge pull request #15501 from highlyunavailable/2014.7
Change getBareMetalInstances call to getHardware
This commit is contained in:
commit
877d7bfbc0
@ -696,7 +696,7 @@ def list_nodes_full(mask='mask[id, hostname, primaryIpAddress, \
|
||||
|
||||
ret = {}
|
||||
conn = get_conn(service='Account')
|
||||
response = conn.getBareMetalInstances(mask=mask)
|
||||
response = conn.getHardware(mask=mask)
|
||||
|
||||
for node in response:
|
||||
ret[node['hostname']] = node
|
||||
|
Loading…
Reference in New Issue
Block a user