Skip to content

Commit

Permalink
fix(ingest): correct profile_day_of_week implementation (#10818)
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanjeremy authored and yoonhyejin committed Jul 16, 2024
1 parent 76290a3 commit 4d239c8
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 4d239c8

Please sign in to comment.