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: incorrect interval reported on the Sources list page #1610

Merged
merged 1 commit into from Mar 4, 2022

Conversation

yitsushi
Copy link
Contributor

@yitsushi yitsushi commented Mar 4, 2022

UI

  • Utility function to convert interval to string, that way we have to
    change only in one place if we want to change the format.

Back-end

  • Fix interval calculation on HelmRepository and GitRepository.
    The issues was: .Minutes() and .Seconds() return with the value of
    the whole interval, not just the minutes/seconds parts.

Closes: #1589

== UI

* Utility function to convert `interval` to string, that way we have to
  change only in one place if we want to change the format.

== Backend

* Fix interval calculation on `HelmRepository` and `GitRepository`.
  The issues was: `.Minutes()` and `.Seconds()` return with the value of
  the whole interval, not just the minutes/seconds parts.
Copy link
Contributor

@jpellizzari jpellizzari left a comment

Choose a reason for hiding this comment

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

Copy link
Contributor

@jpellizzari jpellizzari left a comment

Choose a reason for hiding this comment

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

Ignore my previous comment, you are already ahead of me on this! LGMT, nice work.

@yitsushi yitsushi merged commit 01e5bc3 into v2 Mar 4, 2022
@ozamosi ozamosi deleted the 1589-fix-show-interval branch May 12, 2022 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants