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

Use states specified in the rabbit_config file

parent ef395bb9
No related branches found
No related tags found
2 merge requests!147Merge previous default branch feat-cod-rmq into main,!119Feat account management
...@@ -30,7 +30,7 @@ callback_queue = rc_rmq.bind_queue(exclusive=True) ...@@ -30,7 +30,7 @@ callback_queue = rc_rmq.bind_queue(exclusive=True)
msg = {} msg = {}
if state == 'block' or state == 'certify': if state == 'blocked' or state == 'certification':
action = lock action = lock
elif state == 'ok': elif state == 'ok':
action = unlock action = unlock
......
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