Skip to content
Snippets Groups Projects
Commit fecd4fd0 authored by David Trattnig's avatar David Trattnig
Browse files

Improve federation info.

parent 0f4a653d
No related branches found
No related tags found
No related merge requests found
...@@ -67,12 +67,15 @@ class ApiService(): ...@@ -67,12 +67,15 @@ class ApiService():
# Configured as Main Node # Configured as Main Node
else: else:
msg = ""
self.node_type = NodeType.MAIN self.node_type = NodeType.MAIN
self.sync_host = config.get("sync_host") self.sync_host = config.get("sync_host")
if not self.sync_host: if not self.sync_host:
msg = "No child node for synchronization defined" msg = "No child node for synchronization defined"
else: else:
msg = "Pushing data to '%s'" % (self.sync_host) if not self.config.get("enable_federation") == "false":
msg = "Pushing data to '%s'" % (self.sync_host)
# Set active source # Set active source
source = ActivityLog.get_active_source() source = ActivityLog.get_active_source()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment