Skip to content

Commit

Permalink
Merge pull request #2603 from mtrmac/untrusted-digest-flag
Browse files Browse the repository at this point in the history
Consistently use a string type for expectedLayerDiffIDFlag
  • Loading branch information
giuseppe authored Oct 24, 2024
2 parents 2bd241a + 5e9449c commit 94563a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/storage_dest.go
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,7 @@ func (s *storageImageDestination) createNewLayer(index int, layerDigest digest.D

flags := make(map[string]interface{})
if untrustedUncompressedDigest != "" {
flags[expectedLayerDiffIDFlag] = untrustedUncompressedDigest
flags[expectedLayerDiffIDFlag] = untrustedUncompressedDigest.String()
logrus.Debugf("Setting uncompressed digest to %q for layer %q", untrustedUncompressedDigest, newLayerID)
}

Expand Down

0 comments on commit 94563a7

Please sign in to comment.