-
Notifications
You must be signed in to change notification settings - Fork 10
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
RAM resources bar always dispplays value out of a NaN quota #116
Comments
This happens even with images that do specify a minimum amount of RAM, so it's a bigger bug. |
I was unable to reproduce this, but I think I know what the problem is. Do you mind checking this again, to see if it's been resolved. I don't think this has anything to do with images, I think it happens when the project quota is undefined. The way I had it set up, the project quota would overwrite the largest flavour as the maximum value if it was smaller. It seems it counted 'undefined' as smaller than the largest flavour limit but since 'undefined' is not an int value it returned 'NaN'. I modified it so the maximum value is not initially set as an int thus allowing an undefined value. Also it should only use a value if it's not undefined, if both are undefined it will use '∞'. |
I think I have resolved it now. I hadn't set an else statement for when |
Third time lucky? I think I've got it this time, I had been attempting to pass undefined values as arguments meaning they failed before before being checked. |
Yes! It's fixed! |
The text was updated successfully, but these errors were encountered: