Reimplement Hook::set_config() for UpdateHook
This commit is contained in:
parent
bcf91780aa
commit
6444f95b58
1 changed files with 3 additions and 1 deletions
|
@ -48,7 +48,9 @@ impl Hook for UpdateHook {
|
|||
}
|
||||
|
||||
fn set_config(&mut self, config: &Value) {
|
||||
self.config = Some(config.clone());
|
||||
if let Err(e) = self.runtime.set_config(config) {
|
||||
trace_error(&e);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue