Merge "Explicitly close requests obj in SolidFire Driver"

This commit is contained in:
Jenkins 2014-11-14 06:27:39 +00:00 committed by Gerrit Code Review
commit 60ffd142a1
1 changed files with 1 additions and 0 deletions

View File

@ -169,6 +169,7 @@ class SolidFireDriver(SanISCSIDriver):
timeout=2)
response = req.json()
req.close()
if (('error' in response) and
(response['error']['name'] in self.retryable_errors)):
msg = ('Retryable error (%s) encountered during '