Skip to content

Atlas Plugin Cleanup PR - #44

Merged
ameijer merged 1 commit into
opencost:mainfrom
sajit:atlas-plugin-cleanup
Oct 17, 2024
Merged

Atlas Plugin Cleanup PR #44
ameijer merged 1 commit into
opencost:mainfrom
sajit:atlas-plugin-cleanup

Conversation

@sajit

@sajit sajit commented Oct 16, 2024

Copy link
Copy Markdown
Contributor

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 <sajit@kunnumkal.com>
} else {
results = append(results, result)
}
result := a.getAtlasCostsForWindow(&target, lineItems)

Copy link
Copy Markdown
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.

@ameijer ameijer left a comment

Copy link
Copy Markdown
Member

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
@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