This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2gobroker.
commit d1defd15575ade7ab7c3f7ad2520fe7bbe201d4f Author: Mike Gabriel <mike.gabr...@das-netzwerkteam.de> Date: Mon Apr 16 12:50:16 2018 +0200 x2gobroker/agent (check_load()): Bail out if no remote agent is given. --- x2gobroker/agent.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/x2gobroker/agent.py b/x2gobroker/agent.py index 6dda243..1ee6e37 100644 --- a/x2gobroker/agent.py +++ b/x2gobroker/agent.py @@ -435,6 +435,10 @@ def check_load(remote_agent=None, logger=None, **kwargs): if logger is None: logger = logger_broker + if not remote_agent: + logger.error('no remote agent was given, can\'t query load') + return "NO-REMOTE-AGENT" + try: if "username" in list(kwargs.keys()): del kwargs["username"] -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git _______________________________________________ x2go-commits mailing list x2go-commits@lists.x2go.org https://lists.x2go.org/listinfo/x2go-commits