diff --git a/hooks.py b/hooks.py index 3cbf5bd3db0f739d1029d6a0e8f82bc1280db785_aG9va3MucHk=..32493f2373c18640e8233b2c2307e1843133a828_aG9va3MucHk= 100644 --- a/hooks.py +++ b/hooks.py @@ -69,7 +69,7 @@ class IndexEsOperation(hook.DataOperationMixIn, hook.Operation): - def precommit_event(self): + def postcommit_event(self): indexer = self.cnx.vreg['es'].select('indexer', self.cnx) es = indexer.get_connection() if es is None or not self.cnx.vreg.config['index-name']: