Fix non-json response of container commit
The RESP BODY should be of json format, this patch fixes it. Change-Id: I250b743d8adc6cd6b41039bb3431eff35c4c030c Closes-Bug: #1720181
This commit is contained in:
parent
2b723c3145
commit
87bdaff04e
@ -617,7 +617,7 @@ class Manager(periodic_task.PeriodicTasks):
|
||||
repository, tag)
|
||||
|
||||
utils.spawn_n(do_container_commit)
|
||||
return snapshot_image.id
|
||||
return {"uuid": snapshot_image.id}
|
||||
|
||||
def _do_container_image_upload(self, context, snapshot_image, data, tag):
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user