mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +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,
|
||||
));
|
||||
}
|
||||
if id != &self.package_id {
|
||||
if version != &self.version {
|
||||
return Err(Error::new(
|
||||
eyre!(
|
||||
"Contains image with incorrect version: expected {} received {}",
|
||||
|
||||
Reference in New Issue
Block a user