tape/send_load_media_email: move to server/email_notifications
and reuse 'send_job_status_mail' there so that we get consistent formatted mails from pbs (e.g. html part and author) Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
committed by
Thomas Lamprecht
parent
2c10410b0d
commit
2892624783
@ -51,7 +51,10 @@ use crate::{
|
||||
VirtualTapeDrive,
|
||||
LinuxTapeDrive,
|
||||
},
|
||||
server::WorkerTask,
|
||||
server::{
|
||||
send_load_media_email,
|
||||
WorkerTask,
|
||||
},
|
||||
tape::{
|
||||
TapeWrite,
|
||||
TapeRead,
|
||||
@ -66,7 +69,6 @@ use crate::{
|
||||
changer::{
|
||||
MediaChange,
|
||||
MtxMediaChanger,
|
||||
send_load_media_email,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user