diff options
| author | Jenkins <jenkins@review.openstack.org> | 2013-04-01 19:43:38 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2013-04-01 19:43:38 +0000 |
| commit | 505bf490a4152e7bc2f3e7aa76b54f9be9a009b8 (patch) | |
| tree | 54e53ef99a3f122ac77f6757751b9ed68b189cfc /nova/api | |
| parent | e9f3c310b5410c5672306b13b769db97ea48f42a (diff) | |
| parent | a11c41b48dff83a91eaa65630cc6aeb0e51e6461 (diff) | |
| download | nova-505bf490a4152e7bc2f3e7aa76b54f9be9a009b8.tar.gz nova-505bf490a4152e7bc2f3e7aa76b54f9be9a009b8.tar.xz nova-505bf490a4152e7bc2f3e7aa76b54f9be9a009b8.zip | |
Merge "Convert host value from unicode to a string."
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/compute/contrib/extended_availability_zone.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/openstack/compute/contrib/extended_availability_zone.py b/nova/api/openstack/compute/contrib/extended_availability_zone.py index af557219f..a1ee85bcf 100644 --- a/nova/api/openstack/compute/contrib/extended_availability_zone.py +++ b/nova/api/openstack/compute/contrib/extended_availability_zone.py @@ -37,7 +37,7 @@ class ExtendedAZController(wsgi.Controller): self.mc = memorycache.get_client() def _get_host_az(self, context, instance): - host = instance.get('host') + host = str(instance.get('host')) if not host: return None cache_key = "azcache-%s" % host |
