review comments

This commit is contained in:
crn4
2026-05-19 20:27:50 +02:00
parent 728057ef15
commit 3a1bbeba90
17 changed files with 289 additions and 87 deletions
+1 -1
View File
@@ -307,7 +307,7 @@ func BuildAuthorizedUsersProto(ctx context.Context, authorizedUsers map[string]m
if !exists {
hash, err := sshauth.HashUserID(userID)
if err != nil {
log.WithContext(ctx).Errorf("failed to hash user id %s: %v", userID, err)
log.WithContext(ctx).WithError(err).Error("failed to hash user id")
continue
}
idx = uint32(len(hashedUsers))