Skip to content

Conversation

@spadgett
Copy link
Member

Since we switched from a clusterQuotas map to a clusterQuotas array
for sorting, we incorrectly keyed the namespaceUsageByClusterQuota map
by array index instead of namespace. This prevented the project usage
for a cluster quota from displaying.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1427084

@benjaminapetersen ptal
@jwforres fyi

Since we switched from a `clusterQuotas` map to a `clusterQuotas` array
for sorting, we incorrectly keyed the `namespaceUsageByClusterQuota` map
by array index instead of namespace. This prevented the project usage
for a cluster quota from displaying.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1427084
Copy link
Contributor

@benjaminapetersen benjaminapetersen left a comment

Choose a reason for hiding this comment

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

This looks good to me!

@spadgett
Copy link
Member Author

Thanks @benjaminapetersen

[merge]

@openshift-bot
Copy link

Evaluated for origin web console merge up to 71d4685

@openshift-bot
Copy link

openshift-bot commented Feb 27, 2017

Origin Web Console Merge Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_web_console/1118/) (Base Commit: a941af6)

@openshift-bot openshift-bot merged commit cfbf483 into openshift:master Feb 27, 2017
@spadgett spadgett deleted the fix-cluster-quota-usage branch February 28, 2017 14:30
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