Environment variables are strings, so convert to a float first.

This commit is contained in:
Terrence Cole
2017-07-20 16:09:52 -07:00
parent 803b002cd0
commit 8d86002382
+1 -1
View File
@@ -72,7 +72,7 @@ class RackspaceProvider(BaseProvider):
auth_token, dns_endpoint = self._get_auth_token(username, api_key)
self.dns_endpoint = dns_endpoint
self.ratelimit_delay = ratelimit_delay
self.ratelimit_delay = float(ratelimit_delay)
sess = Session()
sess.headers.update({'X-Auth-Token': auth_token})