mirror of
https://github.com/ceph/ceph
synced 2025-02-21 09:57:26 +00:00
mgr/cephadm: fix --force remove comment
Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
parent
48d33f8a1b
commit
a40c96d793
@ -642,8 +642,6 @@ class CephadmServe:
|
||||
daemons_to_remove.pop()
|
||||
for d in daemons_to_remove:
|
||||
r = True
|
||||
# NOTE: we are passing the 'force' flag here, which means
|
||||
# we can delete a mon instances data.
|
||||
assert d.hostname is not None
|
||||
self._remove_daemon(d.name(), d.hostname)
|
||||
|
||||
@ -919,6 +917,8 @@ class CephadmServe:
|
||||
|
||||
self.mgr.cephadm_services[daemon_type_to_service(daemon_type)].pre_remove(daemon)
|
||||
|
||||
# NOTE: we are passing the 'force' flag here, which means
|
||||
# we can delete a mon instances data.
|
||||
args = ['--name', name, '--force']
|
||||
self.log.info('Removing daemon %s from %s' % (name, host))
|
||||
out, err, code = self._run_cephadm(
|
||||
|
Loading…
Reference in New Issue
Block a user