Git Product home page Git Product logo

Comments (5)

jrha avatar jrha commented on May 20, 2024

This happens even with images that do specify a minimum amount of RAM, so it's a bigger bug.

from cloud.

JHaydock-Pro avatar JHaydock-Pro commented on May 20, 2024

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 '∞'.

from cloud.

JHaydock-Pro avatar JHaydock-Pro commented on May 20, 2024

I think I have resolved it now. I hadn't set an else statement for when biggestRAMAmount and availablequotamem have the same value. It was only set to return the smallest, which in your case was neither since they were identical.

from cloud.

JHaydock-Pro avatar JHaydock-Pro commented on May 20, 2024

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.

from cloud.

jrha avatar jrha commented on May 20, 2024

Yes! It's fixed!

from cloud.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.