mirror of
https://github.com/sergi0g/cup.git
synced 2025-11-08 13:13:49 -05:00
fix: improve error handling in get_latest_tag when an image has no tags
This commit is mostly for debugging #68, but it's good to have more error info just in case.
This commit is contained in:
@@ -205,7 +205,7 @@ pub async fn get_latest_tag(
|
||||
}
|
||||
}
|
||||
}
|
||||
None => unreachable!("{:?}", tags),
|
||||
None => error!("Image {} has no remote version tags! Local tag: {}", image.reference, image.parts.tag),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user