From 3c56d3766b9cf8b584d812f6e3b4b96d37fe1d45 Mon Sep 17 00:00:00 2001 From: BryantHe Date: Thu, 1 Jun 2023 04:21:20 +0800 Subject: [PATCH] fix flask_nameko bug 2 --- chassis/flask_nameko/proxies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chassis/flask_nameko/proxies.py b/chassis/flask_nameko/proxies.py index 6a23ee3..b8b88c5 100644 --- a/chassis/flask_nameko/proxies.py +++ b/chassis/flask_nameko/proxies.py @@ -22,7 +22,7 @@ class PooledClusterRpcProxy(object): self.configure(config) def configure(self, config): - if not config.get('AMQP_URI'): + if not config.get('uri'): raise BadConfigurationError( "Please provide a valid configuration.")