]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: make _plan show removed daemon names
authorSage Weil <sage@newdream.net>
Fri, 23 Apr 2021 19:28:31 +0000 (15:28 -0400)
committerSage Weil <sage@newdream.net>
Wed, 19 May 2021 12:43:14 +0000 (08:43 -0400)
This is more informative than just the hostnames.

Signed-off-by: Sage Weil <sage@newdream.net>
src/pybind/mgr/cephadm/module.py

index f2a158f07bf26f6c0fe6f6bb753f7d0a8bda6c09..e7526cb06946a3b71916650724053333f5bcf355 100644 (file)
@@ -2255,7 +2255,7 @@ Then run the following:
             'service_name': spec.service_name(),
             'service_type': spec.service_type,
             'add': [hs.hostname for hs in to_add],
-            'remove': [d.hostname for d in to_remove]
+            'remove': [d.name() for d in to_remove]
         }
 
     @handle_orch_error