mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 20:47:01 +01:00
Yaleman/issue3229 (#3239)
* Fix wrong success message on kanidm group set-entry-manager #3229
This commit is contained in:
parent
078625cbf9
commit
d6f6a2671d
|
@ -200,11 +200,14 @@ impl GroupOpt {
|
||||||
let client = copt.to_client(OpType::Write).await;
|
let client = copt.to_client(OpType::Write).await;
|
||||||
|
|
||||||
match client
|
match client
|
||||||
.idm_group_set_entry_managed_by(name.as_str(), entry_managed_by.as_str())
|
.idm_group_set_entry_managed_by(name, entry_managed_by)
|
||||||
.await
|
.await
|
||||||
{
|
{
|
||||||
Err(e) => handle_client_error(e, copt.output_mode),
|
Err(e) => handle_client_error(e, copt.output_mode),
|
||||||
Ok(_) => println!("Successfully set members for group {}", name.as_str()),
|
Ok(_) => println!(
|
||||||
|
"Successfully set entry manager to '{}' for group '{}'",
|
||||||
|
entry_managed_by, name
|
||||||
|
),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
GroupOpt::Posix { commands } => match commands {
|
GroupOpt::Posix { commands } => match commands {
|
||||||
|
|
Loading…
Reference in a new issue