Commit 9635d802 by Czémán Arnold

Fix get hostname from fqdn

parent 27c25960
...@@ -10,7 +10,7 @@ import logging ...@@ -10,7 +10,7 @@ import logging
logger = logging.getLogger() logger = logging.getLogger()
HOSTNAME = gethostname() HOSTNAME = gethostname().split('.')[0]
AMQP_URI = getenv('AMQP_URI') AMQP_URI = getenv('AMQP_URI')
celery = Celery('agent', broker=AMQP_URI) celery = Celery('agent', broker=AMQP_URI)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment