mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add some log calls to add more context
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
6afd620978
commit
943c1ab574
1 changed files with 6 additions and 0 deletions
|
@ -1420,6 +1420,11 @@ def _get_repo_file_list(
|
|||
|
||||
|
||||
def _get_remote_versions(bucket_name: str, remote_path: str):
|
||||
log.info(
|
||||
"Getting remote versions from bucket %r under path: %s",
|
||||
bucket_name,
|
||||
remote_path,
|
||||
)
|
||||
remote_path = str(remote_path)
|
||||
if not remote_path.endswith("/"):
|
||||
remote_path += "/"
|
||||
|
@ -1439,6 +1444,7 @@ def _get_remote_versions(bucket_name: str, remote_path: str):
|
|||
continue
|
||||
versions.append(Version(version))
|
||||
versions.sort(reverse=True)
|
||||
log.info("Remove versions collected: %s", versions)
|
||||
return versions
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue