summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nova/api/ec2/ec2utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/api/ec2/ec2utils.py b/nova/api/ec2/ec2utils.py
index 660c0e8d4..150ab9dae 100644
--- a/nova/api/ec2/ec2utils.py
+++ b/nova/api/ec2/ec2utils.py
@@ -42,6 +42,7 @@ def memoize(func):
if not _CACHE:
_CACHE = memorycache.get_client()
key = "%s:%s" % (func.__name__, reqid)
+ key = str(key)
value = _CACHE.get(key)
if value is None:
value = func(context, reqid)