Public bug reported:

Now
---
    def update(self, req, image_id, member_id, status):
        """
        Adds a membership to the image.
        :param req: the Request object coming from the wsgi layer
        :param image_id: the image identifier
        :param member_id: the member identifier
        :returns: The response body is a mapping of the following form
---

It should be
---
    def update(self, req, image_id, member_id, status):
        """
        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
---

** Affects: glance
     Importance: Undecided
     Assignee: makocchi (makocchi)
         Status: New

** Changed in: glance
     Assignee: (unassigned) => makocchi (makocchi)

** Description changed:

- Now 
+ Now
  ---
-     def update(self, req, image_id, member_id, status):
-         """
-         Adds a membership to the image.
-         :param req: the Request object coming from the wsgi layer
-         :param image_id: the image identifier
-         :param member_id: the member identifier
-         :returns: The response body is a mapping of the following form
+     def update(self, req, image_id, member_id, status):
+         """
+         Adds a membership to the image.
+         :param req: the Request object coming from the wsgi layer
+         :param image_id: the image identifier
+         :param member_id: the member identifier
+         :returns: The response body is a mapping of the following form
  ---
  
  It should be
  ---
-     def update(self, req, image_id, member_id, status):
-         """
-         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: status of a member
-         :returns: The response body is a mapping of the following form
+     def update(self, req, image_id, member_id, status):
+         """
+         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
  ---

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1731832

Title:
  Wrong description in ImageMembersController.update

Status in Glance:
  New

Bug description:
  Now
  ---
      def update(self, req, image_id, member_id, status):
          """
          Adds a membership to the image.
          :param req: the Request object coming from the wsgi layer
          :param image_id: the image identifier
          :param member_id: the member identifier
          :returns: The response body is a mapping of the following form
  ---

  It should be
  ---
      def update(self, req, image_id, member_id, status):
          """
          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
  ---

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1731832/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to