]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/orchestrator: set node labels to empty list if none specified 31914/head
authorTim Serong <tserong@suse.com>
Thu, 28 Nov 2019 05:25:21 +0000 (16:25 +1100)
committerTim Serong <tserong@suse.com>
Thu, 28 Nov 2019 05:26:15 +0000 (16:26 +1100)
commit49659746e2746d5cd930fc20fe4835e975be395c
tree2bcdb14be728428ec43b97c12ed31b74d2c23018
parent0cd95b9f0f841cfaca6a3199458f2e1963dc7058
mgr/orchestrator: set node labels to empty list if none specified

f06366836ff tries to ' '.join(node.labels), which raises an exception
if labels is None, so we need to default it to an empty list.

Signed-off-by: Tim Serong <tserong@suse.com>
src/pybind/mgr/orchestrator.py