From cdf49d2437695dfbbb5ff027cfbec25d02fc8259 Mon Sep 17 00:00:00 2001 From: Eesaan Atluri <atlurie@uab.edu> Date: Fri, 8 May 2020 02:31:33 +0000 Subject: [PATCH] Change call back func name --- get-next-uid-gid.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/get-next-uid-gid.py b/get-next-uid-gid.py index 3818be6..54342df 100644 --- a/get-next-uid-gid.py +++ b/get-next-uid-gid.py @@ -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") -- GitLab