Fix C/P fail
The store executed the wrong hooks here, because of a C/P failure. This fixes this bug.
This commit is contained in:
parent
812379c46d
commit
64e28f3c31
1 changed files with 1 additions and 1 deletions
|
@ -361,7 +361,7 @@ impl Store {
|
||||||
})
|
})
|
||||||
.map(|e| FileLockEntry::new(self, e, id))
|
.map(|e| FileLockEntry::new(self, e, id))
|
||||||
.and_then(|mut fle| {
|
.and_then(|mut fle| {
|
||||||
self.execute_hooks_for_mut_file(self.pre_retrieve_aspects.clone(), &mut fle)
|
self.execute_hooks_for_mut_file(self.post_retrieve_aspects.clone(), &mut fle)
|
||||||
.map_err(|e| SE::new(SEK::HookExecutionError, Some(Box::new(e))))
|
.map_err(|e| SE::new(SEK::HookExecutionError, Some(Box::new(e))))
|
||||||
.and(Ok(fle))
|
.and(Ok(fle))
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue