mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
Bugfix: report into warning log module name, not its config
This commit is contained in:
parent
808ffd37bc
commit
63ddd351bd
@ -204,7 +204,7 @@ def get_ext_tops(config):
|
||||
for dep in cfg.get('dependencies'):
|
||||
mod = cfg['dependencies'][dep] or ''
|
||||
if not mod:
|
||||
log.warning('Module %s has missing configuration', mod)
|
||||
log.warning('Module %s has missing configuration', dep)
|
||||
continue
|
||||
elif mod.endswith('.py') and not os.path.isfile(mod):
|
||||
log.warning('Module %s is not a file or does not exist', mod)
|
||||
|
Loading…
Reference in New Issue
Block a user