Fix process report selection

This commit is contained in:
Ingo Oppermann 2023-04-05 12:01:21 +02:00
parent 508d82d579
commit ec4607aec8
No known key found for this signature in database
GPG Key ID: 2AB32426E9DD229E

View File

@ -384,7 +384,7 @@ func (h *RestreamHandler) GetReport(c echo.Context) error {
entries = append(entries, r)
}
} else {
if r.CreatedAt >= *createdAt || r.ExitedAt <= *exitedAt {
if r.CreatedAt >= *createdAt && r.ExitedAt <= *exitedAt {
entries = append(entries, r)
}
}