Module: check_mk
Branch: master
Commit: bc3444655506c390af7762fe3baab995febed6ee
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=bc3444655506c3…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Mon Sep 24 14:17:01 2018 +0200
fixed import error
Change-Id: I85cc57532b53ee216c5e2acc786de7612d7f74aa
---
cmk/gui/wato/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmk/gui/wato/__init__.py b/cmk/gui/wato/__init__.py
index 12b1a16..a61fe6f 100644
--- a/cmk/gui/wato/__init__.py
+++ b/cmk/gui/wato/__init__.py
@@ -13386,8 +13386,8 @@ def create_sample_config():
# Initial baking of agents (when bakery is available)
if watolib.has_agent_bakery():
- bake_job = BakeAgentsBackgroundJob()
import cmk.gui.cee.plugins.wato.agent_bakery
+ bake_job = cmk.gui.cee.plugins.wato.agent_bakery.BakeAgentsBackgroundJob()
bake_job.set_function(cmk.gui.cee.plugins.wato.agent_bakery.bake_agents_background_job)
try:
bake_job.start()