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