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

RHISOS 470 | IOPS Values from Rules are actuals #168

Merged
merged 1 commit into from
Jan 10, 2022

Conversation

saltgen
Copy link
Contributor

@saltgen saltgen commented Jan 10, 2022

Changes are based on the assumption that IOPS values are actuals from rules

Changes are based on the assumption that IOPS values are actuals from rules
@saltgen saltgen requested a review from kgaikwad January 10, 2022 10:51
@saltgen saltgen changed the title IOPS Values from Rules are actuals RHISOS 470 | IOPS Values from Rules are actuals Jan 10, 2022
Copy link
Contributor

@PreetiW PreetiW left a comment

Choose a reason for hiding this comment

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

@saltgen will these changes handle the sorting as well? I haven't tested it yet but I remember last time we had faced it

@@ -199,7 +199,7 @@ def build_sort_expression(self, order_how, order_method):
if order_method in score_methods:
return (
sort_order(PerformanceProfile.performance_utilization[
order_method].astext.cast(Integer)),
order_method].astext.cast(Float)),
asc(PerformanceProfile.system_id),)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@PreetiW Change on line 202, will handle the previous sort error, tested ✅

Copy link
Contributor

@apuntamb apuntamb left a comment

Choose a reason for hiding this comment

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

Codewise looks ready to go!

@apuntamb apuntamb merged commit 46f06a7 into RedHatInsights:main Jan 10, 2022
@apuntamb
Copy link
Contributor

Thanks @saltgen for the quick fix and @PreetiW for testing it sooner! Merged!

@PreetiW
Copy link
Contributor

PreetiW commented Jan 10, 2022

Working like a charm, thanks @saltgen
image

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.

3 participants