Add more descriptive debug message

This commit is contained in:
twangboy 2018-06-04 15:41:03 -06:00
parent 365f81651b
commit fbbd91f09e
No known key found for this signature in database
GPG key ID: 93FF3BDEB278C9EB

View file

@ -82,8 +82,9 @@ def _checksum_file_path(path):
)
else:
raise
log.debug('Found path: %s', relpath)
return salt.utils.path_join(__opts__['cachedir'], 'archive_hash', relpath)
ret = salt.utils.path_join(__opts__['cachedir'], 'archive_hash', relpath)
log.debug('Using checksum file %s for cached archive file %s', ret, path)
return ret
def _update_checksum(path):