Skip to content

Handle blank PVC capacities for the purpose of sorting#3865

Open
cayla wants to merge 3 commits intoderailed:masterfrom
cayla:cef/empty-pvc-quantity
Open

Handle blank PVC capacities for the purpose of sorting#3865
cayla wants to merge 3 commits intoderailed:masterfrom
cayla:cef/empty-pvc-quantity

Conversation

@cayla
Copy link

@cayla cayla commented Mar 4, 2026

Resolves #3863

@cayla cayla marked this pull request as ready for review March 4, 2026 13:57
@derailed derailed added bug Something isn't working needs-tlc Pr needs additional updates labels Mar 4, 2026
Copy link
Owner

@derailed derailed left a comment

Choose a reason for hiding this comment

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

@cayla Nice catch! Thank you for this update and tests!!

"10Mi": {s: "10Mi", e: 10485760},
}

for k := range uu {
Copy link
Owner

Choose a reason for hiding this comment

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

nit: it is ok now to range over both key/val in a loop. So we can remove the temp var i.e for k, u := range...

Copy link
Author

Choose a reason for hiding this comment

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

Thanks. I am not really a go person, so I appreciate the feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working needs-tlc Pr needs additional updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sort PVCs by capacity fails when there are Pending items

2 participants