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

fix(ingest): correct profile_day_of_week implementation #10818

Merged
Merged
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ def is_profiling_enabled(operation_config: OperationConfig) -> bool:
today = datetime.date.today()
if (
operation_config.profile_day_of_week is not None
and operation_config.profile_date_of_month != today.weekday()
and operation_config.profile_day_of_week != today.weekday()
):
logger.info(
"Profiling won't be done because weekday does not match config profile_date_of_month.",
"Profiling won't be done because weekday does not match config profile_day_of_week.",
)
return False
if (
Expand Down
Loading