From: Swann Croiset Date: Mon, 19 Aug 2013 12:06:01 +0000 (+0200) Subject: Pass token as a callable to Ceilometer client X-Git-Tag: 2014.1~154^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=41cff2646854c78c77d2c4555c13c1ae42dc7401;p=openstack-build%2Fheat-build.git Pass token as a callable to Ceilometer client fixes bug #1209240 Change-Id: I5e3e3bb15135273c887f9518f148f17e8953fc96 --- diff --git a/heat/engine/clients.py b/heat/engine/clients.py index 85d0934d..7866973f 100644 --- a/heat/engine/clients.py +++ b/heat/engine/clients.py @@ -195,7 +195,7 @@ class OpenStackClients(object): 'auth_url': con.auth_url, 'service_type': 'metering', 'project_id': con.tenant, - 'token': self.auth_token, + 'token': lambda: self.auth_token, 'endpoint': self.url_for(service_type='metering'), }