]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/smb: add create_only arg for handler apply function
authorJohn Mulligan <jmulligan@redhat.com>
Wed, 1 May 2024 14:55:27 +0000 (10:55 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 13 Jun 2024 13:54:05 +0000 (09:54 -0400)
commit83ee0c9fdc2170704a2e31fbcb8fb75681e39692
tree51e770b0c203cb9fdbd721e041a12d3ef9f9dc7d
parent0eb6324fcc6abccd97130bae45ad70e17d6b8e65
mgr/smb: add create_only arg for handler apply function

Add a create_only argument to the handler class apply function. This
flag is used to prevent modification of existing resources. This flag
will be use by 'cluster create' and 'share create' commands to make
them true to their names and not sneaky modify-or-create commands.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/pybind/mgr/smb/handler.py