mirror of
https://git.proxmox.com/git/proxmox
synced 2025-07-31 21:21:49 +00:00
release: fix typo in 'Acquire-By-Hash'
to allow detection of repositories that support downloading indices via their hash instead of their filename. Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
f54534cc37
commit
7e8eab45dd
@ -342,7 +342,7 @@ impl TryFrom<ReleaseFileRaw> for ReleaseFile {
|
||||
parsed.suite = value.suite;
|
||||
parsed.version = value.version;
|
||||
|
||||
parsed.aquire_by_hash = match value.extra_fields.get("Aquire-By-Hash") {
|
||||
parsed.aquire_by_hash = match value.extra_fields.get("Acquire-By-Hash") {
|
||||
Some(val) => *val == "yes",
|
||||
None => false,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user