]> git.proxmox.com Git - proxmox-offline-mirror.git/commit
keys: improve refresh behaviour
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 8 Sep 2022 08:14:27 +0000 (10:14 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 8 Sep 2022 08:25:57 +0000 (10:25 +0200)
commitfe3bf78aa85b8de6e05b00da2eed48cd7bedc433
tree27c30958beca26b1a2466ce82cdddbed06d39f0c
parentc8b43f3e7a1606284c9f8ca70122bb04ca049acb
keys: improve refresh behaviour

refresh mirror key(s) before looking for a valid one to use for offline key
refreshing, and disentagle these two parts of "refreshing keys".

also, refreshing is no longer async since dropping hyper, so drop the
async/await-s accordingly.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
src/bin/proxmox_offline_mirror_cmds/subscription.rs
src/subscription.rs