Module: check_mk
Branch: master
Commit: 60105717e804ebaf38e2fa23093d6b81dc7488b3
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=60105717e804eb…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Mar 20 08:16:44 2019 +0100
Use real tag instead of None as piggyback default tag
Change-Id: I85264089672db093b3cdd32b859fb55df25a7437
---
cmk/gui/config.py | 2 +-
tests/unit/cmk/gui/test_gui_config.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmk/gui/config.py b/cmk/gui/config.py
index 031ff79..2d27b4e 100644
--- a/cmk/gui/config.py
+++ b/cmk/gui/config.py
@@ -766,7 +766,7 @@ class BuiltinTagConfig(cmk.gui.tags.TagConfig):
'topic': _('Data sources'),
'tags': [
{
- "id": None,
+ "id": "auto-piggyback",
"title": _("Legacy: Automatically detect piggyback
usage"),
"aux_tags": []
},
diff --git a/tests/unit/cmk/gui/test_gui_config.py
b/tests/unit/cmk/gui/test_gui_config.py
index fc8cff3..26a447b 100644
--- a/tests/unit/cmk/gui/test_gui_config.py
+++ b/tests/unit/cmk/gui/test_gui_config.py
@@ -828,7 +828,7 @@ def test_default_tags():
'no-ip',
],
"piggyback": [
- None,
+ "auto-piggyback",
"piggyback",
"no-piggyback",
],