Skip to content

Commit 8c30615

Browse files
committed
Drop dead code
Change-Id: I26cdb6639558a191e73eddda4ed857c38acbe974
1 parent 2d0a0cd commit 8c30615

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

cmk/gui/watolib/_sync_remote_sites.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
from cmk.ccc import store
1515
from cmk.ccc.site import omd_site, SiteId
16-
from cmk.gui.config import active_config, Config
16+
from cmk.gui.config import Config
1717
from cmk.gui.cron import CronJob, CronJobRegistry
1818
from cmk.gui.http import Request
1919
from cmk.gui.log import logger
@@ -134,10 +134,6 @@ def __init__(self) -> None:
134134
)
135135
self._audit_log_store = AuditLogStore()
136136

137-
def shall_start(self) -> bool:
138-
"""Some basic preliminary check to decide quickly whether to start the job"""
139-
return bool(wato_slave_sites(active_config.sites))
140-
141137
def do_execute(
142138
self, *, sites: Sequence[tuple[SiteId, RemoteAutomationConfig]], debug: bool
143139
) -> None:

0 commit comments

Comments
 (0)