mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
change error message
This commit is contained in:
parent
195c063b1e
commit
32450910e5
@ -971,7 +971,7 @@ def clear_job_cache(hours=24):
|
||||
if mtime < threshold:
|
||||
shutil.rmtree(os.path.join(root, name))
|
||||
except OSError as exc:
|
||||
log.error('Attempt to clear cache with saltutil.clear_cache FAILED with: {0}'.format(exc))
|
||||
log.error('Attempt to clear cache with saltutil.clear_job_cache FAILED with: {0}'.format(exc))
|
||||
return False
|
||||
return True
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user