Merge "Index browbeat-config"

This commit is contained in:
Jenkins 2017-05-30 20:18:38 +00:00 committed by Gerrit Code Review
commit 4927a55241

View File

@ -75,6 +75,7 @@ class Elastic(object):
retry = 2 retry = 2
result['browbeat_uuid'] = str(browbeat_uuid) result['browbeat_uuid'] = str(browbeat_uuid)
result['cloud_name'] = self.config['browbeat']['cloud_name'] result['cloud_name'] = self.config['browbeat']['cloud_name']
result['browbeat_config'] = self.config
for i in range(retry): for i in range(retry):
try: try:
self.es.index(index=self.index, self.es.index(index=self.index,