mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
fix logic for validating image tags
This commit is contained in:
committed by
Aiden McClelland
parent
47186f6cd0
commit
8a7181a21c
@@ -68,7 +68,7 @@ impl ImageTag {
|
|||||||
crate::ErrorKind::ValidateS9pk,
|
crate::ErrorKind::ValidateS9pk,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
if id != &self.package_id {
|
if version != &self.version {
|
||||||
return Err(Error::new(
|
return Err(Error::new(
|
||||||
eyre!(
|
eyre!(
|
||||||
"Contains image with incorrect version: expected {} received {}",
|
"Contains image with incorrect version: expected {} received {}",
|
||||||
|
|||||||
Reference in New Issue
Block a user