Skip to content
Snippets Groups Projects
Commit cdf49d24 authored by Eesaan Atluri's avatar Eesaan Atluri
Browse files

Change call back func name

parent 50883756
No related branches found
No related tags found
6 merge requests!147Merge previous default branch feat-cod-rmq into main,!85kill nginx process running under user from login node,!51Fix acct create wait,!39WIP:Feat cod rmq,!38WIP: Feat cod rmq,!28Feat resolve uid gid
......@@ -41,7 +41,7 @@ def create_account(msg):
logger.exception("Fatal cmsh error:")
# Define your callback function
def get_next_uid_gid(ch, method, properties, body):
def resolve_uid_gid(ch, method, properties, body):
# Retrieve message
msg = json.loads(body)
......@@ -91,7 +91,7 @@ logger.info("Start listening to queue: {}".format(task))
rc_rmq.start_consume({
'queue': task,
'routing_key': "request.*",
'cb': get_next_uid_gid
'cb': resolve_uid_gid
})
logger.info("Disconnected")
......
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