Commit 745017f8 authored by Philip ABBET's avatar Philip ABBET

Bugfix: Possible use of unknown key when str(beat.core.Host) is used

parent 899609b1
......@@ -93,7 +93,7 @@ class Host(object):
def __str__(self):
return self.kwargs['base_url']
return self.kwargs.get('base_url', 'Host')
def env2docker(self, key):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment