]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/smb: share and cluster create commands only create resources 57293/head
authorJohn Mulligan <jmulligan@redhat.com>
Wed, 1 May 2024 14:57:02 +0000 (10:57 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 13 Jun 2024 13:54:05 +0000 (09:54 -0400)
commit5da3eb11ac36851ebd7fd2c59290ed6914f608bb
treeb76c8c1c7ced9b96f4a0a99eb1255111525fb5df
parent751bae6f9b9afd0b7ff50127154cb67e4d5791be
mgr/smb: share and cluster create commands only create resources

Prior to this change the create commands could be used counter to the
term 'create' as a create-or-update command. IMO this violates the
principle of least surprise so make them create-only.

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