]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
MDSMonitor: always prints standbys even if no fs
authorPatrick Donnelly <pdonnell@redhat.com>
Fri, 4 May 2018 17:50:38 +0000 (10:50 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Tue, 8 May 2018 16:05:59 +0000 (09:05 -0700)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit ad75128c8e1011e3f8d17405a11fad97506d74a0)

src/mds/FSMap.cc

index f7409b123f5a51c2937dc232c6656644515f9aa5..f4f539962d04365804888101d25ee40f89833798 100644 (file)
@@ -93,7 +93,6 @@ void FSMap::print(ostream& out) const
 
   if (filesystems.empty()) {
     out << "No filesystems configured" << std::endl;
-    return;
   }
 
   for (const auto &fs : filesystems) {