m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-18 01:43:41 -05:00

Tiny improvement to version handling, add a new debug log

This commit is contained in:
Sergio
2025-02-01 10:28:17 +02:00
parent 4bbb53cd67
commit b5aa0309ee
2 changed files with 10 additions and 4 deletions

View File

@@ -182,7 +182,10 @@ pub async fn get_latest_tag(
Some(t) => {
if t == base && image.digest_info.is_some() {
// Tags are equal so we'll compare digests
debug!(config.debug, "Tags for {} are equal, comparing digests.", image.reference);
debug!(
config.debug,
"Tags for {} are equal, comparing digests.", image.reference
);
get_latest_digest(
&Image {
version_info: Some(VersionInfo {