Skip to content

Commit

Permalink
client: Capture original OCI image identifier
Browse files Browse the repository at this point in the history
Closes lxc#1273

Signed-off-by: Stéphane Graber <[email protected]>
  • Loading branch information
stgraber committed Oct 2, 2024
1 parent f152532 commit cc12cad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/oci_images.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ func (r *ProtocolOCI) GetImage(fingerprint string) (*api.Image, string, error) {
"architecture": info.Architecture,
"type": "oci",
"description": fmt.Sprintf("%s (OCI)", info.Name),
"id": info.Alias,
},
},
Aliases: []api.ImageAlias{{
Expand Down

0 comments on commit cc12cad

Please sign in to comment.