From: Saumay Agrawal Date: Thu, 2 Mar 2017 19:09:26 +0000 (+0530) Subject: Update OSDMon.cc X-Git-Tag: v12.0.1~195^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F13750%2Fhead;p=ceph.git Update OSDMon.cc 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. --- diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index dd21dfca6d73..52c3cf49953a 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -3043,7 +3043,7 @@ void OSDMonitor::get_health(list >& 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 >& 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())); } }