Comment 2 for bug 1743338

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/534075
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=38976a5b9316ba37123d04d13b0dd7dca7f2d1fe
Submitter: Zuul
Branch: master

commit 38976a5b9316ba37123d04d13b0dd7dca7f2d1fe
Author: Neha Alhat <email address hidden>
Date: Mon Jan 15 19:31:15 2018 +0530

    Fix BadRequest for 'ref' as string value

    Before schema validation patch [1] got merged, it was allowed to
    pass "ref" as string value (ref:"string") in request body of
    snapshot_manage create API but after schema changes, it is
    returning 400 error.

    This patch fixes this issue by allowing user to pass "ref" parameter
    as string.

    Note: In case user uses python-cinderclient to manage snapshot, it
    always passes "ref" parameter as object (dict).

    Change-Id: I6464eacf9f970cbcc1429a50bd59d59faf262bc6
    Closes-Bug: #1743338