Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0b7febb9a1 |
@@ -268,9 +268,6 @@ class Controller(object):
|
|||||||
LOG.warn("Direct download for %s failed, falling back to "
|
LOG.warn("Direct download for %s failed, falling back to "
|
||||||
"download from Glance", image_id)
|
"download from Glance", image_id)
|
||||||
file_fallback = True
|
file_fallback = True
|
||||||
except exc.HTTPForbidden as e:
|
|
||||||
LOG.warn("Error while direct downloading %s: %s", image_id, e)
|
|
||||||
raise e
|
|
||||||
else:
|
else:
|
||||||
if resp.status_code == codes.no_content:
|
if resp.status_code == codes.no_content:
|
||||||
return None, resp
|
return None, resp
|
||||||
|
|||||||
Reference in New Issue
Block a user