void RGWGetHealthCheck::execute()
{
  if (!g_conf->rgw_healthcheck_disabling_path.empty() &&
      (::access(g_conf->rgw_healthcheck_disabling_path.c_str(), F_OK) == 0)) {
    /* Disabling path specified & existent in the filesystem. */
    op_ret = -ERR_SERVICE_UNAVAILABLE; /* 503 */
  } else {
    op_ret = 0; /* 200 OK */
  }
}
void RGWGetHealthCheck::execute()
{
  if (!g_conf->rgw_healthcheck_disabling_path.empty() &&
      (::access(g_conf->rgw_healthcheck_disabling_path.c_str(), F_OK) == 0)) {
     
    op_ret = -ERR_SERVICE_UNAVAILABLE;  
  } else {
    op_ret = 0;  
  }
}