Taking interface{} -> any modernize bits (#4204)

This commit is contained in:
Raja Subramanian
2025-12-28 05:22:12 +05:30
committed by GitHub
parent b91cd2e4ea
commit b8ddd0f98c
24 changed files with 135 additions and 57 deletions
+3 -3
View File
@@ -1795,15 +1795,15 @@ func (r *Room) handleNewJobs(ad *livekit.AgentDispatch, inc *sutils.IncrementalD
})
}
func (r *Room) DebugInfo() map[string]interface{} {
info := map[string]interface{}{
func (r *Room) DebugInfo() map[string]any {
info := map[string]any{
"Name": r.protoRoom.Name,
"Sid": r.protoRoom.Sid,
"CreatedAt": r.protoRoom.CreationTime,
}
participants := r.GetParticipants()
participantInfo := make(map[string]interface{})
participantInfo := make(map[string]any)
for _, p := range participants {
participantInfo[string(p.Identity())] = p.DebugInfo()
}