mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Fixing KeyError
This commit is contained in:
parent
6b2cda2861
commit
306b1ea6b8
@ -200,7 +200,10 @@ def list_nodes_full(call=None, forOutput=True):
|
||||
value = str(value)
|
||||
ret[node['name']][item] = value
|
||||
page += 1
|
||||
try:
|
||||
fetch = 'next' in items['links']['pages']
|
||||
except KeyError:
|
||||
fetch = False
|
||||
return ret
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user