Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
Signed-off-by: tison <wander4096@gmail.com>
  • Loading branch information
tisonkun committed Mar 26, 2024
1 parent cc48871 commit 7870e58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/auth/src/user_provider/watch_file_user_provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ impl WatchFileUserProvider {
event.kind,
EventKind::Modify(_) | EventKind::Create(_) | EventKind::Remove(_)
) {
info!("User provider file {} changed", &filepath);
info!(?event.kind, "User provider file {} changed", &filepath);
match load_credential_from_file(&filepath) {
Ok(credential) => {
let mut users =
Expand Down Expand Up @@ -102,7 +102,7 @@ impl UserProvider for WatchFileUserProvider {
} else {
match id {
Identity::UserId(id, _) => {
warn!(id, "User provider file is empty, allow all users");
warn!(id, "User provider file not exist, allow all users");
Ok(DefaultUserInfo::with_name(id))
}
}
Expand Down

0 comments on commit 7870e58

Please sign in to comment.