Skip to content

Commit

Permalink
fixed recently introduced bug on merging WK6676
Browse files Browse the repository at this point in the history
Change-Id: Ic3fdb4cb3611c0e08ff7425e79615110d22910c9
  • Loading branch information
Andreas Boesl committed Nov 8, 2018
1 parent 4b66993 commit e206813
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmk/gui/plugins/webapi/webapi.py
Expand Up @@ -782,7 +782,7 @@ def _get(self, request):

def _get_builtin_tags_configuration(self):
builtin_tags_config = watolib.BuiltinHosttagsConfiguration()
builtin_tags_config.parse_config((watolib.builtin_host_tags, watolib.builtin_aux_tags))
builtin_tags_config.load()
return builtin_tags_config.get_dict_format()

def _set(self, request):
Expand Down
4 changes: 4 additions & 0 deletions cmk/gui/watolib.py
Expand Up @@ -7317,6 +7317,10 @@ def _initialize(self):
def insert_tag_group(self, tag_group):
self._insert_tag_group(tag_group)

def load(self):
builtin_tags = config.BuiltinTags()
self._parse_legacy_format(builtin_tags.host_tags(), builtin_tags.aux_tags())

#.
# .--Hooks---------------------------------------------------------------.
# | _ _ _ |
Expand Down

0 comments on commit e206813

Please sign in to comment.