mirror of
https://git.proxmox.com/git/proxmox
synced 2025-08-13 19:54:35 +00:00
notify: pbs context: include nodename in default sendmail author
The old notification stack in proxmox-backup includes the nodename, so we include it here as well. Signed-off-by: Lukas Wagner <l.wagner@proxmox.com> Reviewed-by: Fiona Ebner <f.ebner@proxmox.com>
This commit is contained in:
parent
c55f37b8c4
commit
803bf7cdc7
@ -82,7 +82,7 @@ impl Context for PBSContext {
|
||||
}
|
||||
|
||||
fn default_sendmail_author(&self) -> String {
|
||||
"Proxmox Backup Server".into()
|
||||
format!("Proxmox Backup Server - {}", proxmox_sys::nodename())
|
||||
}
|
||||
|
||||
fn default_sendmail_from(&self) -> String {
|
||||
|
Loading…
Reference in New Issue
Block a user