From 8a7181a21c6f974e7b074318cbff98309539f59a Mon Sep 17 00:00:00 2001 From: Aiden McClelland Date: Thu, 3 Mar 2022 14:23:46 -0700 Subject: [PATCH] fix logic for validating image tags --- backend/src/s9pk/reader.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/s9pk/reader.rs b/backend/src/s9pk/reader.rs index 57a78deee..b99423f44 100644 --- a/backend/src/s9pk/reader.rs +++ b/backend/src/s9pk/reader.rs @@ -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 {}",