fix : clippy #48
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ pub fn uid_to_dn(uid: &str) -> String {
|
|||
format!("uid={},ou=users,dc=skynet,dc=ie", uid)
|
||||
}
|
||||
|
||||
pub async fn update_group(config: &Config, group: &str, users: &Vec<String>, replace: bool) -> tide::Result<()> {
|
||||
pub async fn update_group(config: &Config, group: &str, users: &[String], replace: bool) -> tide::Result<()> {
|
||||
if users.is_empty() {
|
||||
return Ok(());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue