diff options
Diffstat (limited to 'src/mon/Monitor.cc')
-rw-r--r-- | src/mon/Monitor.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc index bb8ae1b3c12..c5d3b5ebca3 100644 --- a/src/mon/Monitor.cc +++ b/src/mon/Monitor.cc @@ -115,11 +115,11 @@ Monitor::Monitor(CephContext* cct_, string nm, MonitorStore *s, Messenger *m, Mo clog(cct_, messenger, monmap, LogClient::FLAG_MON), key_server(cct, &keyring), auth_cluster_required(cct, - cct->_conf->auth_cluster_required.length() ? - cct->_conf->auth_cluster_required : cct->_conf->auth_supported), + cct->_conf->auth_supported.length() ? + cct->_conf->auth_supported : cct->_conf->auth_cluster_required), auth_service_required(cct, - cct->_conf->auth_service_required.length() ? - cct->_conf->auth_service_required : cct->_conf->auth_supported), + cct->_conf->auth_supported.length() ? + cct->_conf->auth_supported : cct->_conf->auth_service_required), store(s), state(STATE_PROBING), |