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

Remove bloomcompactor.DayTable in favour of config.DayTime #11917

Merged
merged 2 commits into from
Feb 14, 2024

Conversation

chaudum
Copy link
Contributor

@chaudum chaudum commented Feb 10, 2024

Where previously a model.Time was used to define the day of a task.

@chaudum chaudum requested a review from a team as a code owner February 10, 2024 08:01
@chaudum chaudum force-pushed the chaudum/bloomgateway-use-daytable branch from 05f7c72 to 378a903 Compare February 12, 2024 07:03
@chaudum chaudum requested a review from salvacorts February 12, 2024 07:04
@chaudum chaudum force-pushed the chaudum/bloomgateway-use-daytable branch from 378a903 to 9ae6a2e Compare February 12, 2024 07:26
@chaudum chaudum marked this pull request as draft February 12, 2024 10:24
@chaudum
Copy link
Contributor Author

chaudum commented Feb 12, 2024

We should remove bloomcompactor.DayTable in favour of config.Day. ✔️

@chaudum chaudum force-pushed the chaudum/bloomgateway-use-daytable branch from 9ae6a2e to 85ed7b2 Compare February 12, 2024 16:30
@pull-request-size pull-request-size bot added size/L and removed size/M labels Feb 12, 2024
@chaudum chaudum changed the title Use bloomcompactor.DayTable in bloom gateway code Remove bloomcompactor.DayTable in favour of config.DayTime Feb 12, 2024
@chaudum chaudum requested a review from owen-d February 12, 2024 16:59
@chaudum chaudum marked this pull request as ready for review February 12, 2024 17:03
@chaudum chaudum force-pushed the chaudum/bloomgateway-use-daytable branch from 4171751 to d9d2895 Compare February 13, 2024 07:40
Where previously a model.Time was used to define the day of a task.

Signed-off-by: Christian Haudum <[email protected]>
@chaudum chaudum force-pushed the chaudum/bloomgateway-use-daytable branch from d9d2895 to b841401 Compare February 13, 2024 07:41
@chaudum chaudum force-pushed the chaudum/bloomgateway-use-daytable branch from b841401 to cf2aa90 Compare February 13, 2024 07:51
@chaudum chaudum merged commit 1c43991 into main Feb 14, 2024
8 checks passed
@chaudum chaudum deleted the chaudum/bloomgateway-use-daytable branch February 14, 2024 08:49
rhnasc pushed a commit to inloco/loki that referenced this pull request Apr 12, 2024
…na#11917)

Both structs shared the same semantics.
This PR moves additional functionality from the `DayTable` to the `DayTime` struct.
To get the table name of a day (ordinal number of day since unix epoch), call `DayTime.Table()`.

Signed-off-by: Christian Haudum <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants