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:
Fabian Grünbichler 2022-09-15 15:09:17 +02:00 committed by Thomas Lamprecht
parent f54534cc37
commit 7e8eab45dd

View File

@ -342,7 +342,7 @@ impl TryFrom<ReleaseFileRaw> for ReleaseFile {
parsed.suite = value.suite; parsed.suite = value.suite;
parsed.version = value.version; 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", Some(val) => *val == "yes",
None => false, None => false,
}; };