m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-17 01:23:39 -05:00

Update sort_update_vec function, fix lints and enable testing in CI

This commit is contained in:
Sergio
2024-11-16 14:58:16 +02:00
parent 9e9bb78db7
commit 0b7e064980
4 changed files with 137 additions and 62 deletions

View File

@@ -75,7 +75,7 @@ impl Image {
/// Creates and populates the fields of an Image object based on a reference. If the tag is not recognized as a version string, exits the program with an error.
pub async fn from_reference(reference: &str) -> Self {
let (registry, repository, tag) = split(&reference);
let (registry, repository, tag) = split(reference);
let version_tag = Version::from_tag(&tag);
match version_tag {
Some(version) => Self {