1
0
mirror of https://github.com/lxc/incus.git synced 2026-02-05 09:46:19 +01:00

client: Update for ArchitectureID

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
This commit is contained in:
Stéphane Graber
2025-03-28 21:34:14 -04:00
parent 6bab178249
commit 1e04b9c8ed

View File

@@ -383,7 +383,7 @@ func (r *ProtocolOCI) GetImageAlias(name string) (*api.ImageAliasesEntry, string
info.Alias = name
info.Digest = strings.ReplaceAll(info.Digest, "sha256:", "")
archID, err := osarch.ArchitectureId(info.Architecture)
archID, err := osarch.ArchitectureID(info.Architecture)
if err != nil {
return nil, "", err
}