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

refactor: qos #137

Merged
merged 4 commits into from
Feb 7, 2025
Merged

refactor: qos #137

merged 4 commits into from
Feb 7, 2025

Conversation

tenstad
Copy link
Member

@tenstad tenstad commented Feb 7, 2025

QOS stuff that is used by both userqos and groupqos is moved to a separate file in the api package, and a wrapper struct is created around Warning and Hard so that both userqos and groupqos has a common field to use as input to sdk conversion fn.

the conversion fns (from api to sdk) is moved to a new package in internal/controller - to be user by userqos as well (as groupqos)

limitsEqual moved into sdk and is now a receiver fn

@tenstad tenstad requested review from erikgb and mariatsji February 7, 2025 14:53
Copy link
Member

@erikgb erikgb left a comment

Choose a reason for hiding this comment

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

LGTM

@tenstad tenstad merged commit 4d9c50f into statnett:main Feb 7, 2025
6 checks passed
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