mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
mgr/cephadm: only need to invalidate once here
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
a09e01fd21
commit
1ab85b7fde
@ -1767,7 +1767,7 @@ class CephadmOrchestrator(orchestrator.Orchestrator, MgrModule):
|
||||
host, name, 'unit',
|
||||
['--name', name, a],
|
||||
error_ok=True)
|
||||
self.cache.invalidate_host_daemons(host)
|
||||
self.cache.invalidate_host_daemons(host)
|
||||
return "{} {} from host '{}'".format(action, name, host)
|
||||
|
||||
def daemon_action(self, action, daemon_type, daemon_id):
|
||||
|
Loading…
Reference in New Issue
Block a user