pub fn config_key_set(cluster_handle: &Rados, key: &str, value: &str, simulate: bool) -> RadosResult<()> {
    let cmd = json!({
        "prefix": "config-key set",
        "key": key,
        "val": value,
        "format": "json"
    });

    if !simulate {
        cluster_handle.ceph_mon_command_without_data(&cmd)?;
    }
    Ok(())
}
/// Set a given configuration key in the monitor cluster
Set a given configuration key in the monitor cluster
Set a given configuration key in the monitor cluster
pub fn config_key_set(cluster_handle: &Rados, key: &str, value: &str, simulate: bool) -> RadosResult<()> {
    let cmd = json!({
        "prefix": "config-key set",
        "key": key,
        "val": value,
        "format": "json"
    });
    if !simulate {
        cluster_handle.ceph_mon_command_without_data(&cmd)?;
    }
    Ok(())
}
pub fn config_key_set ( cluster_handle : & Rados , key : & str , value : & str , simulate : bool ) -> RadosResult < ( ) > { let cmd = json ! ( { " " " " " " key " " value " " " " } ) ; if ! simulate { cluster_handle . ceph_mon_command_without_data ( & cmd ) ? ; } Ok ( ( ) ) }
Set a given configuration key in the monitor cluster
Set a given configuration key in the monitor cluster
cluster_handle
&Rados
key
&str
value
&str
simulate
bool
cluster_handle
&Rados
key
&str
value
&str
simulate
bool