Commit 6aba0cd
committed
mgr/cephadm: allow services to be conditionally ranked
Add a spec argument to the `ranked` function. If this function returns
true the service will use ranks. In some cases we want 'rankedness'
to be conditional on parameters of the given service spec.
Signed-off-by: John Mulligan <[email protected]>1 parent 59acb54 commit 6aba0cd
File tree
4 files changed
+7
-4
lines changed- src/pybind/mgr/cephadm
- services
4 files changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3296 | 3296 | | |
3297 | 3297 | | |
3298 | 3298 | | |
| 3299 | + | |
| 3300 | + | |
| 3301 | + | |
3299 | 3302 | | |
3300 | 3303 | | |
3301 | 3304 | | |
| |||
3304 | 3307 | | |
3305 | 3308 | | |
3306 | 3309 | | |
3307 | | - | |
| 3310 | + | |
3308 | 3311 | | |
3309 | 3312 | | |
3310 | 3313 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
780 | 780 | | |
781 | 781 | | |
782 | 782 | | |
783 | | - | |
| 783 | + | |
784 | 784 | | |
785 | 785 | | |
786 | 786 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | | - | |
| 291 | + | |
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
0 commit comments