Name function after command: list_local_users

This commit is contained in:
Torsten Flammiger 2022-01-16 21:22:57 +01:00
parent 3e79d15495
commit 50430cf4ab
2 changed files with 2 additions and 2 deletions

View file

@ -127,7 +127,7 @@ impl Users {
///
/// A user account is considered `local` if the length of it's password is greater then zero.
#[tracing::instrument(skip(self))]
pub fn get_local_users(&self) -> Result<Vec<String>> {
pub fn list_local_users(&self) -> Result<Vec<String>> {
let users: Vec<String> = self
.userid_password
.iter()