Skip to content
Snippets Groups Projects
Commit 079f5e6b authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Fix import and rc_rmq object

parent 1c0315c8
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,!33Update create account script,!38WIP: Feat cod rmq
#!/usr/bin/env python3
import json
import rc_util
import argparse
......@@ -25,8 +26,8 @@ def callback(channel, method, properties, body):
logger.info(f'Account for {username} has been created.')
rc_rmq.stop_consume()
rc_rmq.delete_queue()
rc_util.rc_rmq.stop_consume()
rc_util.rc_rmq.delete_queue()
rc_util.add_account(args.username, email=args.email, full=args.full_name, reason=args.reason)
......
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