notify: adapt to Option<Vec<T>> to Vec<T> changes in proxmox_notify

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
Tested-by: Max Carrara <m.carrara@proxmox.com>
Reviewed-by: Max Carrara <m.carrara@proxmox.com>
This commit is contained in:
Lukas Wagner 2024-05-21 15:31:43 +02:00 committed by Wolfgang Bumiller
parent 7ac7fa5b00
commit dc02255bdc

View File

@ -153,8 +153,8 @@ mod export {
&mut config,
SendmailConfig {
name,
mailto,
mailto_user,
mailto: mailto.unwrap_or_default(),
mailto_user: mailto_user.unwrap_or_default(),
from_address,
author,
comment,
@ -329,8 +329,8 @@ mod export {
port,
mode,
username,
mailto,
mailto_user,
mailto: mailto.unwrap_or_default(),
mailto_user: mailto_user.unwrap_or_default(),
from_address,
author,
comment,
@ -429,10 +429,10 @@ mod export {
&mut config,
MatcherConfig {
name,
match_severity,
match_field,
match_calendar,
target,
match_severity: match_severity.unwrap_or_default(),
match_field: match_field.unwrap_or_default(),
match_calendar: match_calendar.unwrap_or_default(),
target: target.unwrap_or_default(),
mode,
invert_match,
comment,