Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support info (device name and other meta-information) in the status. #202

Merged
merged 7 commits into from
Dec 1, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed error support.
  • Loading branch information
ptabor committed Dec 1, 2024
commit 775d90050b29a0d1dc2a56059a33f12dca288a7b
4 changes: 4 additions & 0 deletions http/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 398,10 @@ func (h *Handler) statuses(w http.ResponseWriter, r *http.Request) {
})
}
}
if err := g.Wait(); err != nil {
h.log("%v", err)
httpError(w, err)
}

statusResponses := map[string]statusResponse{}
for deviceUUID, ch := range mapUUID2Ch {
Expand Down
Loading