Skip to content

Commit

Permalink
Merge PR ceph#31914 into master
Browse files Browse the repository at this point in the history
* refs/pull/31914/head:
	mgr/orchestrator: set node labels to empty list if none specified

Reviewed-by: Joshua Schmid <[email protected]>
Reviewed-by: Sage Weil <[email protected]>
Reviewed-by: Kiefer Chang <[email protected]>
  • Loading branch information
liewegas committed Nov 28, 2019
2 parents 0cde6a0 + 4965974 commit be6dd89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .githubmap
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,5 @@ mgfritch Michael Fritch <[email protected]>
xiaoxichen Xiaoxi Chen <[email protected]>
toabctl Thomas Bechtold <[email protected]>
dsavineau Dimitri Savineau <[email protected]>
jschmid1 Joshua Schmid <[email protected]>
bk201 Kiefer Chang <[email protected]>
2 changes: 2 additions & 0 deletions src/pybind/mgr/orchestrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1296,6 +1296,8 @@ def __init__(self, name, devices=None, labels=None):
# type: (str, inventory.Devices, List[str]) -> None
if devices is None:
devices = inventory.Devices([])
if labels is None:
labels = []
assert isinstance(devices, inventory.Devices)

self.name = name # unique within cluster. For example a hostname.
Expand Down

0 comments on commit be6dd89

Please sign in to comment.