mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue