Skip to content
Snippets Groups Projects
Commit 9f42b33f authored by Pavel Kirilin's avatar Pavel Kirilin :alien:
Browse files

Fixed missing cfg macro.


Signed-off-by: default avatarPavel Kirilin <win10@list.ru>
parent d519b5f1
No related branches found
No related tags found
No related merge requests found
...@@ -22,6 +22,7 @@ impl NotificationManager { ...@@ -22,6 +22,7 @@ impl NotificationManager {
notifiers: Vec::new(), notifiers: Vec::new(),
}; };
debug!("Initializing notification manager."); debug!("Initializing notification manager.");
#[cfg(feature = "file_notifiers")]
if tus_config.notification_opts.hooks_file.is_some() { if tus_config.notification_opts.hooks_file.is_some() {
debug!("Found hooks file"); debug!("Found hooks file");
manager.notifiers.push(Box::new(FileNotifier::new( manager.notifiers.push(Box::new(FileNotifier::new(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment