]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/rook: fix placement_spec_to_node_selector
authorJoseph Sawaya <jsawaya@redhat.com>
Wed, 22 Sep 2021 20:49:56 +0000 (16:49 -0400)
committerJoseph Sawaya <jsawaya@redhat.com>
Mon, 27 Sep 2021 18:52:59 +0000 (14:52 -0400)
commit5ed4fbb9992e75feff5da9be7b4270232a1e0d22
treeefdd8c744cafc9374eb5a92027f2db93759d5cc4
parent12d374327ecdd6fb3804530079f9e6455d5b72b7
mgr/rook: fix placement_spec_to_node_selector

This commit takes care of the edge case where a completely empty
placement spec is passed to the function.

Signed-off-by: Joseph Sawaya <jsawaya@redhat.com>
src/pybind/mgr/rook/rook_cluster.py