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

Compute Pool Fields on Refresh #1067

Merged
merged 3 commits into from
Sep 22, 2021
Merged

Compute Pool Fields on Refresh #1067

merged 3 commits into from
Sep 22, 2021

Conversation

dvaldivia
Copy link
Collaborator

Signed-off-by: Daniel Valdivia 18384552+dvaldivia@users.noreply.github.com

Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
@dvaldivia dvaldivia added the bug this needs to be fixed label Sep 21, 2021
@dvaldivia dvaldivia self-assigned this Sep 21, 2021
const cap =
pool.volumes_per_server *
pool.servers *
pool.volume_configuration.size;
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
pool.volume_configuration.size;
pool.volume_configuration?.size;

Copy link
Collaborator

@bexsoft bexsoft left a comment

Choose a reason for hiding this comment

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

LGTM

@dvaldivia dvaldivia merged commit e7665fa into minio:master Sep 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug this needs to be fixed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants