proxmox/proxmox-apt
Maximiliano Sandoval 8062e1abb3 apt: file: Use unwrap_or_default instead of match
Fixes the manual_unwrap_or_default clippy lint:

```
warning: match can be simplified with `.unwrap_or_default()`
   --> proxmox-apt/src/repositories/file.rs:369:30
    |
369 |               let mut origin = match repo.get_cached_origin(apt_lists_dir) {
    |  ______________________________^
370 | |                 Ok(option) => option,
371 | |                 Err(_) => None,
372 | |             };
    | |_____________^ help: replace it with: `repo.get_cached_origin(apt_lists_dir).unwrap_or_default()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or_default
    = note: `#[warn(clippy::manual_unwrap_or_default)]` on by default
```

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
2024-12-03 13:44:05 +01:00
..
debian apt: bump version to 0.11.5-1 2024-11-11 21:10:23 +01:00
src apt: file: Use unwrap_or_default instead of match 2024-12-03 13:44:05 +01:00
tests apt: add Ceph Squid to standard repos for PVE 2024-11-11 21:08:10 +01:00
Cargo.toml apt: bump version to 0.11.5-1 2024-11-11 21:10:23 +01:00