Skip to content

Fix total_entries count on the event logs endpoint#38625

Merged
eladkal merged 1 commit intoapache:mainfrom
astronomer:fix_total_entry_on_event_log_api
Mar 30, 2024
Merged

Fix total_entries count on the event logs endpoint#38625
eladkal merged 1 commit intoapache:mainfrom
astronomer:fix_total_entry_on_event_log_api

Conversation

@jedcunningham
Copy link
Member

The total_entries count should reflect how many log entries match the filters provided, not simply how many rows are in the table total.

I took the opportunity to do a little cleanup at the same time.

The `total_entries` count should reflect how many log entries match the
filters provided, not simply how many rows are in the table total.
@potiuk
Copy link
Member

potiuk commented Mar 29, 2024

nice catch

@eladkal eladkal added this to the Airflow 2.9.0 milestone Mar 30, 2024
@eladkal eladkal added the type:bug-fix Changelog: Bug Fixes label Mar 30, 2024
@eladkal eladkal merged commit 90e7b3f into apache:main Mar 30, 2024
@jedcunningham jedcunningham deleted the fix_total_entry_on_event_log_api branch March 31, 2024 14:45
ephraimbuddy pushed a commit that referenced this pull request Mar 31, 2024
The `total_entries` count should reflect how many log entries match the
filters provided, not simply how many rows are in the table total.

(cherry picked from commit 90e7b3f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:API Airflow's REST/HTTP API type:bug-fix Changelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants