mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Change key -> function to make log message more clear
Leaving it as "key" would potentially confuse people into thinking there was a problem with an SSH/SSL/TLS/etc. key.
This commit is contained in:
parent
91f9fd38fd
commit
7192c38f66
@ -1630,8 +1630,8 @@ class LazyLoader(salt.utils.lazy.LazyDict):
|
||||
# if the modulename isn't in the whitelist, don't bother
|
||||
if self.whitelist and mod_name not in self.whitelist:
|
||||
log.error(
|
||||
'Failed to load key %s because its module (%s) is not in '
|
||||
'the whitelist: %s', key, mod_name, self.whitelist
|
||||
'Failed to load function %s because its module (%s) is '
|
||||
'not in the whitelist: %s', key, mod_name, self.whitelist
|
||||
)
|
||||
raise KeyError(key)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user