]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Update OSDMon.cc 13750/head
authorSaumay Agrawal <saumay.agrawal@gmail.com>
Thu, 2 Mar 2017 19:09:26 +0000 (00:39 +0530)
committerGitHub <noreply@github.com>
Thu, 2 Mar 2017 19:09:26 +0000 (00:39 +0530)
I have fixed the issue cleanup #19090: Wrong hard-coded URLs
I have replaced the wrong URLs with correct URLs redirecting to the Tunables headline under Crush Map documentation.
Please add it to the documentation.

src/mon/OSDMonitor.cc

index dd21dfca6d73351b5d84b0013f7624f2e4c1515f..52c3cf49953a8cb82b00f3e2bb1dc3f112dc6b2d 100644 (file)
@@ -3043,7 +3043,7 @@ void OSDMonitor::get_health(list<pair<health_status_t,string> >& summary,
           << ", min is " << g_conf->mon_crush_min_required_version << ")";
        summary.push_back(make_pair(HEALTH_WARN, ss.str()));
        if (detail) {
-         ss << "; see http://ceph.com/docs/master/rados/operations/crush-map/#tunables";
+         ss << "; see http://docs.ceph.com/docs/master/rados/operations/crush-map/#tunables";
          detail->push_back(make_pair(HEALTH_WARN, ss.str()));
        }
       }
@@ -3054,7 +3054,7 @@ void OSDMonitor::get_health(list<pair<health_status_t,string> >& summary,
        ss << "crush map has straw_calc_version=0";
        summary.push_back(make_pair(HEALTH_WARN, ss.str()));
        if (detail) {
-         ss << "; see http://ceph.com/docs/master/rados/operations/crush-map/#tunables";
+         ss << "; see http://docs.ceph.com/docs/master/rados/operations/crush-map/#tunables";
          detail->push_back(make_pair(HEALTH_WARN, ss.str()));
        }
       }