mirror of
https://git.proxmox.com/git/proxmox-perl-rs
synced 2025-05-24 01:18:54 +00:00
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:
parent
7ac7fa5b00
commit
dc02255bdc
@ -153,8 +153,8 @@ mod export {
|
|||||||
&mut config,
|
&mut config,
|
||||||
SendmailConfig {
|
SendmailConfig {
|
||||||
name,
|
name,
|
||||||
mailto,
|
mailto: mailto.unwrap_or_default(),
|
||||||
mailto_user,
|
mailto_user: mailto_user.unwrap_or_default(),
|
||||||
from_address,
|
from_address,
|
||||||
author,
|
author,
|
||||||
comment,
|
comment,
|
||||||
@ -329,8 +329,8 @@ mod export {
|
|||||||
port,
|
port,
|
||||||
mode,
|
mode,
|
||||||
username,
|
username,
|
||||||
mailto,
|
mailto: mailto.unwrap_or_default(),
|
||||||
mailto_user,
|
mailto_user: mailto_user.unwrap_or_default(),
|
||||||
from_address,
|
from_address,
|
||||||
author,
|
author,
|
||||||
comment,
|
comment,
|
||||||
@ -429,10 +429,10 @@ mod export {
|
|||||||
&mut config,
|
&mut config,
|
||||||
MatcherConfig {
|
MatcherConfig {
|
||||||
name,
|
name,
|
||||||
match_severity,
|
match_severity: match_severity.unwrap_or_default(),
|
||||||
match_field,
|
match_field: match_field.unwrap_or_default(),
|
||||||
match_calendar,
|
match_calendar: match_calendar.unwrap_or_default(),
|
||||||
target,
|
target: target.unwrap_or_default(),
|
||||||
mode,
|
mode,
|
||||||
invert_match,
|
invert_match,
|
||||||
comment,
|
comment,
|
||||||
|
Loading…
Reference in New Issue
Block a user