mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Remove redundant autoconf instance clearing logic in save_config.py for improved clarity
This commit is contained in:
parent
6094d779bd
commit
6a7d3ebc34
1 changed files with 0 additions and 5 deletions
|
|
@ -213,11 +213,6 @@ if __name__ == "__main__":
|
|||
if err:
|
||||
LOGGER.warning(f"Couldn't clear manual instances from database : {err}, instances may be incorrect")
|
||||
|
||||
if any(settings.get(setting, "no") == "yes" for setting in ("AUTOCONF_MODE", "SWARM_MODE", "KUBERNETES_MODE")):
|
||||
err = db.update_instances([], method="autoconf", changed=False)
|
||||
if err:
|
||||
LOGGER.warning(f"Couldn't clear autoconf instances from database : {err}, instances may be incorrect")
|
||||
|
||||
changes.append("instances")
|
||||
|
||||
for api in apis:
|
||||
|
|
|
|||
Loading…
Reference in a new issue