From e81229b92aa17417235ae2494fe898e741e83e1e Mon Sep 17 00:00:00 2001 From: Alexander Bashmakov Date: Sat, 23 Jul 2016 18:38:21 -0700 Subject: [PATCH] Correcting description of image_update API method. Currently, the description refers to the method returning: "a dictionary representation of a newly created *Image* object" This is probably copy-pasted from image_create. Updated database_architecture.rst to say: "a dictionary representation of the updated *Image* object" Change-Id: Ie3101fa6c17bd6c62958543c327964c9e85f428a --- doc/source/database_architecture.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/database_architecture.rst b/doc/source/database_architecture.rst index 7a1b6d24a2..45139898d8 100644 --- a/doc/source/database_architecture.rst +++ b/doc/source/database_architecture.rst @@ -48,7 +48,7 @@ Image basic methods #. ``image_update(context, image_id, values, purge_props=False, from_state=None)`` — updates the existing image with the identifier *image_id* with the values listed in the *values* dictionary. Returns a - dictionary representation of a newly created *Image* object. + dictionary representation of the updated *Image* object. Optional parameters are: - ``purge_props`` — a flag indicating that all the existing