mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
modernize took out the next and the name
This commit is contained in:
parent
3f0ebfc3eb
commit
4c3204cff5
@ -555,7 +555,7 @@ class SaltLoadPillar(ioflo.base.deeding.Deed):
|
||||
self.master_estate_name.value = master.name
|
||||
|
||||
route = {'src': (self.road_stack.value.local.name, None, None),
|
||||
'dst': (six.itervalues(self.road_stack.value.remotes), None, 'remote_cmd')}
|
||||
'dst': (next(six.itervalues(self.road_stack.value.remotes)).name, None, 'remote_cmd')}
|
||||
load = {'id': self.opts.value['id'],
|
||||
'grains': self.grains.value,
|
||||
'saltenv': self.opts.value['environment'],
|
||||
|
Loading…
Reference in New Issue
Block a user