From 55b4bfb96bdb690dc6e6b82d4c71da4f3f22355c Mon Sep 17 00:00:00 2001
From: "Bo-Chun Louis Chen(VM)" <louistw@uab.edu>
Date: Mon, 24 Feb 2020 22:49:52 +0000
Subject: [PATCH] Update exchange name

After standup meeting, change the exchange name to Register
---
 rc_util.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/rc_util.py b/rc_util.py
index e0c2643..63acbbe 100644
--- a/rc_util.py
+++ b/rc_util.py
@@ -1,7 +1,7 @@
 from rc_rmq import RCRMQ
 import json
 
-rc_rmq = RCRMQ({'exchange': 'Request'})
+rc_rmq = RCRMQ({'exchange': 'Register'})
 confirm_rmq = RCRMQ({'exchange': 'Confirm'})
 tasks = {'ohpc_account': False, 'ohpc_homedir': False, 'ood_account': False, 'slurm_account': False}
 
@@ -25,6 +25,7 @@ def worker(ch, method, properties, body):
     done = True
     for key, status in tasks.items():
         if not status:
+            print("{} is not done yet.".format(key))
             done = False 
     if done:
         confirm_rmq.stop_consume()
-- 
GitLab