]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
library/radosgw_user.py: fix user update
authorJohn Karasev <john.karasev@intel.com>
Wed, 28 Sep 2022 18:57:41 +0000 (11:57 -0700)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 12 Oct 2022 08:48:48 +0000 (10:48 +0200)
commit91e45256fad53072fcd95beb08a0414be35e54f2
tree7377e2ed22e2c7d208d0fe77535ea504180ae4a6
parent8b4f68e39c52c79c7d97bfb8506e2753e8fefba5
library/radosgw_user.py: fix user update

Removes the case when display_name was defined prevously but
was not provided when modifying. Without this change the module
will change display_name to name even if display_name was not name
originally. See #7296

Signed-off-by: John Karasev <john.karasev@intel.com>
(cherry picked from commit 72ff93f685ee7a11490b1c9cce15aba564fb10d0)
library/radosgw_user.py