Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
agentdriver
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
1
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9635d802
authored
Aug 09, 2018
by
Czémán Arnold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix get hostname from fqdn
parent
27c25960
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
agentcelery.py
+1
-1
No files found.
agentcelery.py
View file @
9635d802
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment