mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-11-02 15:18:42 +00:00
cleanup manual unwrap_or_default()
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
3a45719ecf
commit
2dd9f98fde
@ -539,10 +539,7 @@ impl PullParameters {
|
||||
ns,
|
||||
};
|
||||
|
||||
let group_filter = match group_filter {
|
||||
Some(f) => f,
|
||||
None => Vec::<GroupFilter>::new(),
|
||||
};
|
||||
let group_filter = group_filter.unwrap_or_default();
|
||||
|
||||
Ok(Self {
|
||||
source,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user