Skip to content
Snippets Groups Projects
Commit 745017f8 authored by Philip ABBET's avatar Philip ABBET
Browse files

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

parent 899609b1
No related branches found
No related tags found
No related merge requests found
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment