Skip to content

Commit

Permalink
Fixed build errors and merge droppings
Browse files Browse the repository at this point in the history
  • Loading branch information
Julio Martinez committed Dec 20, 2024
1 parent 7eabab4 commit 7d8cec2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions server/data_model/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ impl ImageInformation {
sdk_version: Option<String>,
) -> Self {
let mut compat_image_hash: String = image_hash;
if image_hash == "" {
if compat_image_hash == "" {
// Preserve backwards compatibility with old hash calculation
let mut image_hasher = Sha256::new();
image_hasher.update(image_name.clone());
Expand All @@ -127,7 +127,6 @@ impl ImageInformation {
base_image,
run_strs,
image_hash: compat_image_hash,
version: ::default(),
image_uri: None,
sdk_version,
}
Expand Down

0 comments on commit 7d8cec2

Please sign in to comment.