Fix image-create using pipelines
The return value of ImageManager._get_file_size() is passed on to the glance server in the create api call. Returning None causes the server to reject the request as malformed. Add dtroyer to AUTHORS Change-Id: I02c90e2db5fbd1e49d1516550c806f26dae83fb9
This commit is contained in:
1
AUTHORS
1
AUTHORS
@@ -1,3 +1,4 @@
|
|||||||
Brian Waldon <bcwaldon@gmail.com>
|
Brian Waldon <bcwaldon@gmail.com>
|
||||||
Jay Pipes <jaypipes@gmail.com>
|
Jay Pipes <jaypipes@gmail.com>
|
||||||
Monty Taylor <mordred@inaugust.com>
|
Monty Taylor <mordred@inaugust.com>
|
||||||
|
Dean Troyer <dtroyer@gmail.com>
|
||||||
|
@@ -110,7 +110,7 @@ class ImageManager(base.Manager):
|
|||||||
# to pipe image data to the client, e.g.
|
# to pipe image data to the client, e.g.
|
||||||
# echo testdata | bin/glance add blah..., or
|
# echo testdata | bin/glance add blah..., or
|
||||||
# that stdin is empty
|
# that stdin is empty
|
||||||
return None
|
return 0
|
||||||
else:
|
else:
|
||||||
raise
|
raise
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user