mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
fix list for mask
This commit is contained in:
parent
ee7b579e90
commit
6890439d58
@ -132,7 +132,7 @@ def beacon(config):
|
||||
if isinstance(mask, list):
|
||||
r_mask = 0
|
||||
for sub in mask:
|
||||
r_mask |= _get_mask(mask)
|
||||
r_mask |= _get_mask(sub)
|
||||
elif isinstance(mask, salt.ext.six.binary_type):
|
||||
r_mask = _get_mask(mask)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user