Increases time delta by one to get the previous day stat by gurkanindibay · Pull Request #172 · citusdata/tools

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@gurkanindibay

Copy link Copy Markdown

Contributor

No description provided.

hanefi and others added 2 commits

August 23, 2021 13:25
See https://json.schemastore.org/github-workflow.json for the complete
set of definitions.

This commit fixes all the issues that are found on the default branch
yaml files
stat_param = DockerStats(fetch_date=fetch_date, total_pull_count=total_pull_count,
daily_pull_count=daily_pull_count,
stat_date=fetch_date.date() - timedelta(days=i))
stat_date=fetch_date.date() - timedelta(days=i+1))
Copy link Copy Markdown

Member

@onurctirtir onurctirtir

Sep 1, 2021

edited

Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or maybe just do for i in range(1, day_diff+1):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@onurctirtir onurctirtir onurctirtir approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@gurkanindibay @onurctirtir @hanefi