mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Previsouly this would run even if no proc matched.
This commit is contained in:
parent
9a02306c7e
commit
049210cd93
@ -194,8 +194,10 @@ class Inventory(Target):
|
||||
else:
|
||||
proc = '_parse_group_line'
|
||||
varname = line.strip('[]')
|
||||
continue
|
||||
getattr(self, proc)(line, varname)
|
||||
|
||||
getattr(self, proc)(line, varname)
|
||||
|
||||
continue
|
||||
|
||||
def _parse_group_line(self, line, varname):
|
||||
'''
|
||||
|
Loading…
Reference in New Issue
Block a user