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

Ensure selection of fallback instance type if necessary #244

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

konstantinbest
Copy link
Contributor

It may happen that we cannot find an instance type for a VM because the load values are too low. In this case, the build would simply stop. This change ensures that we always have at least the fallback instance type when installing.

@@ -659,9 +659,9 @@ def aws_build(self,
"""

vm_types_overview = self.aws_get_instances_overview()
if vm_types_overview:
Copy link
Member

Choose a reason for hiding this comment

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

Seems aws_get_instances_overview can return None, and then there is iteration aws_get_fitting_vm_types through overview var which can be None and then probably lead to TypeError.

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.

2 participants