Skip to content

Commit

Permalink
add missing method parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-manzi committed Jul 25, 2024
1 parent 0efb1ff commit 3f1e9af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions egi_notebooks_accounting/eosc.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def get_from_to_dates(args, timestamp_file):


def generate_day_metrics(
period_start, period_end, accounting_url, token, flavor_config, dry_run
period_start, period_end, accounting_url, token, flavor_config, timestamp_file, installation, dry_run
):
logging.info(f"Generate metrics from {period_start} to {period_end}")
metrics = {}
Expand Down Expand Up @@ -236,7 +236,7 @@ def main():
while period_start <= to_date:
period_end = period_start + timedelta(hours=23, minutes=59)
generate_day_metrics(
period_start, period_end, accounting_url, token, flavor_config, args.dry_run
period_start, period_end, accounting_url, token, flavor_config, timestamp_file, installation, args.dry_run
)
period_start = period_end + timedelta(minutes=1)

Expand Down

0 comments on commit 3f1e9af

Please sign in to comment.