This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kibble-scanners.git


The following commit(s) were added to refs/heads/master by this push:
     new 2468fc2  be sure to actually store the post doc in ES
2468fc2 is described below

commit 2468fc2b3a127a3551c26d8ebb5733a9a57c8954
Author: Daniel Gruno <humbed...@apache.org>
AuthorDate: Mon Feb 26 20:47:54 2018 +0100

    be sure to actually store the post doc in ES
---
 src/plugins/scanners/discourse.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/plugins/scanners/discourse.py 
b/src/plugins/scanners/discourse.py
index 52b37d7..f970db8 100644
--- a/src/plugins/scanners/discourse.py
+++ b/src/plugins/scanners/discourse.py
@@ -183,6 +183,7 @@ def scanJob(KibbleBit, source, cat, creds):
                         'text': post['cooked'],
                         'url': topicdoc['url']
                     }
+                    KibbleBit.append('forum_post', pdoc)
             
         return True    
     

-- 
To stop receiving notification emails like this one, please contact
humbed...@apache.org.

Reply via email to