Comment 4 for bug 1561828

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

Reviewed: https://review.opendev.org/c/openstack/python-glanceclient/+/858549
Committed: https://opendev.org/openstack/python-glanceclient/commit/74fa43665719ddc830999fa15bb052a87d69dd14
Submitter: "Zuul (22348)"
Branch: master

commit 74fa43665719ddc830999fa15bb052a87d69dd14
Author: Cyril Roelandt <email address hidden>
Date: Tue Sep 20 18:05:33 2022 +0200

    schema_args: Do not generate option for read-only properties

    The schema_args decorator generates command line options based on the
    properties defined in a schema. This commit makes sure read-only
    properties are skipped during this process, since trying to modify their
    value would result in a Glance error.

    Closes-Bug: #1561828
    Change-Id: I7ccc628a23c9ebdaeedcb9e6d43559f497ce9555