aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRuan HE <ruan.he@orange.com>2018-01-25 09:40:44 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-01-25 09:40:44 +0000
commit8c4503a8d6a5cfed77b9be776eebe92c25379312 (patch)
treeff784734c0218ef0abe6d3578e468de503128cad
parentdf319d8d8adae4be4fcfecbbb1ea6bf2d7bcaa53 (diff)
parent5f8931f1767e99cbf5f074504a8bf625d351a38e (diff)
Merge "fix syntax error"
-rw-r--r--moon_interface/moon_interface/authz_requests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/moon_interface/moon_interface/authz_requests.py b/moon_interface/moon_interface/authz_requests.py
index 12c190c7..2ef0e0a1 100644
--- a/moon_interface/moon_interface/authz_requests.py
+++ b/moon_interface/moon_interface/authz_requests.py
@@ -33,7 +33,7 @@ class AuthzRequest:
raise exceptions.KeystoneProjectError("Unknown Project ID {}".format(ctx['project_id']))
self.container_chaining = CACHE.container_chaining[ctx['project_id']]
- if len(self.container_chaining) == 0 or not all(k in self.container_data for k in ("container_id", "hostname", "hostip", "port")):
+ if len(self.container_chaining) == 0 or not all(k in self.container_chaining[0] for k in ("container_id", "hostname", "hostip", "port")):
raise exceptions.MoonError('Void container chaining')
self.pdp_container = self.container_chaining[0]["container_id"]