proxmox-backup/src
Maximiliano Sandoval 55d50f1344 backup-proxy: avoid block in if condition
Fixes the clippy lint:

```
warning: in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`
   --> src/bin/proxmox-backup-proxy.rs:874:58
    |
874 |           let stats = match tokio::task::spawn_blocking(|| {
    |  __________________________________________________________^
875 | |             let hoststats = collect_host_stats_sync();
876 | |             let (hostdisk, datastores) = collect_disk_stats_sync();
877 | |             Arc::new((hoststats, hostdisk, datastores))
878 | |         })
    | |_________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blocks_in_conditions
    = note: `#[warn(clippy::blocks_in_conditions)]` on by default
```

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
2024-02-13 14:54:13 +01:00
..
acme cli: acme: add possibility to set eab via the cli 2023-12-06 12:45:40 +01:00
api2 datastore: use is_{err, some} rather than match {Ok, Some}(_) 2024-02-13 10:10:56 +01:00
backup verify/protect: improve error on disappearing snapshots 2023-02-08 15:19:32 +01:00
bin backup-proxy: avoid block in if condition 2024-02-13 14:54:13 +01:00
config cleanup more unnecesary allocations 2024-01-19 10:51:17 +01:00
server report: inline errors in writeln! 2024-02-13 11:18:50 +01:00
tape media_catalog: use stream_position 2024-02-13 10:07:06 +01:00
tools disks: remove useless conversion to the same type 2024-02-13 11:06:48 +01:00
auth_helpers.rs use new auth api crate 2023-03-02 17:01:35 +01:00
auth.rs tree-wide: fix various typos 2023-11-29 18:32:07 +01:00
client_helpers.rs provide separate helpers for pub/priv auth keyring access 2023-03-29 14:37:45 +02:00
lib.rs use new auth api crate 2023-03-02 17:01:35 +01:00
rrd_cache.rs rrd_cache: use proxmox-rrd from proxmox workspace 2024-02-01 13:56:03 +01:00
traffic_control_cache.rs adapt to rest-server 0.3 and http 0.8 changes 2023-03-02 15:15:36 +01:00