From a34538430cedc1548793a17bdb0f3aea92b1b3f2 Mon Sep 17 00:00:00 2001 From: makocchi-git Date: Tue, 14 Nov 2017 10:02:08 +0900 Subject: [PATCH] Wrong description in ImageMembersController.update Update the description in ImageMembersController.update correctly. Change-Id: I7f7b724743b7f0ceb56d6f386d4a4ebc24a17490 Closes-Bug: #1731832 --- glance/api/v2/image_members.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/glance/api/v2/image_members.py b/glance/api/v2/image_members.py index 474fb07257..09696e0fd9 100644 --- a/glance/api/v2/image_members.py +++ b/glance/api/v2/image_members.py @@ -136,10 +136,11 @@ class ImageMembersController(object): @utils.mutating def update(self, req, image_id, member_id, status): """ - Adds a membership to the image. + Update the status of a member for a given image. :param req: the Request object coming from the wsgi layer :param image_id: the image identifier :param member_id: the member identifier + :param status: the status of a member :returns: The response body is a mapping of the following form ::