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

Atlas Plugin Cleanup PR #44

Merged
merged 1 commit into from
Oct 17, 2024
Merged

Conversation

sajit
Copy link
Contributor

@sajit sajit commented Oct 16, 2024

What does this PR change?

  • Cleans up some function signatures; Adds more test coverage; Addresses some PR comments on previous PR

Does this PR relate to any other PRs?

How will this PR impact users?

  • Hopefully makes it easier

Does this PR address any GitHub or Zendesk issues?

How was this PR tested?

  • Ran tests locally

Does this PR require changes to documentation?

  • Nope

Signed-off-by: Sajit Kunnumkal <[email protected]>
} else {
results = append(results, result)
}
result := a.getAtlasCostsForWindow(&target, lineItems)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

getAtlasCostsForWindow was always returning a nil error. So no need to test for it. can make calling code simpler.

Copy link
Contributor

@ameijer ameijer left a comment

Choose a reason for hiding this comment

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

LGTM, thank you @sajit !

@ameijer ameijer merged commit 5ebd41d into opencost:main Oct 17, 2024
2 checks passed
@sajit sajit deleted the atlas-plugin-cleanup branch October 19, 2024 22:31
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.

2 participants