Commit 1e710ac
committed
mgr/cephadm: fix error handling in deploy_given_daemons
In the case where _create_daemon just returns an exception
itself, which should only happen in the case deployment fails
in general rather than for a specific daemon, (can happen if
the host it wants to deploy on has gone offline for example)
deploy_given_daemons was not properly handling the exception
and instead referenced the unbound variable "failures".
Signed-off-by: Adam King <[email protected]>
(cherry picked from commit f0207ca)
Resolves: rhbz#23714181 parent 867d498 commit 1e710ac
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1160 | 1160 | | |
1161 | 1161 | | |
1162 | 1162 | | |
| 1163 | + | |
| 1164 | + | |
1163 | 1165 | | |
1164 | 1166 | | |
1165 | 1167 | | |
| |||
0 commit comments