Skip to content

Commit

Permalink
prevent mangled config to be written to disk
Browse files Browse the repository at this point in the history
  • Loading branch information
axinojolais committed Dec 22, 2017
1 parent a3b4a28 commit d3114f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/elasticbeats.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
def render_without_context(source, target):
''' Render beat template from global state context '''
cache = kv()
context = config()
context = dict(config())
connected = False

logstash_hosts = cache.get('beat.logstash')
Expand Down

0 comments on commit d3114f3

Please sign in to comment.