]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/PGMap: fix summary form for POOL_APP_NOT_ENABLED
authorSage Weil <sage@redhat.com>
Wed, 31 Jul 2019 06:31:39 +0000 (01:31 -0500)
committerSage Weil <sage@redhat.com>
Thu, 15 Aug 2019 01:40:08 +0000 (20:40 -0500)
Count goes first.

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/PGMap.cc

index df5ee60a6d7a8bfd2e69645b3c788d3d80119b49..3481dbef2d97b066db9e581de0d93e8efb4ae31f 100644 (file)
@@ -3198,7 +3198,7 @@ void PGMap::get_health_checks(
     }
     if (!detail.empty()) {
       ostringstream ss;
-      ss << "application not enabled on " << detail.size() << " pool(s)";
+      ss << detail.size() << " pool(s) do not have an application enabled";
       auto& d = checks->add("POOL_APP_NOT_ENABLED", HEALTH_WARN, ss.str());
       stringstream tip;
       tip << "use 'ceph osd pool application enable <pool-name> "