mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Merge pull request #19531 from cachedout/log_refresh
Let's get more debug info about how often refreshes are happening
This commit is contained in:
commit
432776ef61
@ -1447,6 +1447,7 @@ class Minion(MinionBase):
|
||||
'''
|
||||
Refresh the functions and returners.
|
||||
'''
|
||||
log.debug('Refreshing modules')
|
||||
self.functions, self.returners, _ = self._load_modules(force_refresh)
|
||||
self.schedule.functions = self.functions
|
||||
self.schedule.returners = self.returners
|
||||
@ -1455,6 +1456,7 @@ class Minion(MinionBase):
|
||||
'''
|
||||
Refresh the pillar
|
||||
'''
|
||||
log.debug('Refreshing pillar')
|
||||
self.opts['pillar'] = salt.pillar.get_pillar(
|
||||
self.opts,
|
||||
self.opts['grains'],
|
||||
|
Loading…
Reference in New Issue
Block a user