-
Notifications
You must be signed in to change notification settings - Fork 432
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
feat(hatchery/openstack): check flavor #5148
Conversation
Signed-off-by: Yvonnick Esnault <[email protected]>
Signed-off-by: Yvonnick Esnault <[email protected]>
// if there is a model, we have to check if the flavor attached to model is knowned by this hatchery | ||
if model != nil { | ||
if _, err := h.flavorID(model.ModelVirtualMachine.Flavor); err != nil { | ||
log.Debug("CanSpawn> flavor '%s' not found", model.ModelVirtualMachine.Flavor) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it could be nice to check the error
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry, i don't see how you are checking the error is "flavor not found"
CDS Report build-all-cds#13083.0 ✘
|
Co-Authored-By: François Samin <[email protected]>
Signed-off-by: Yvonnick Esnault <[email protected]>
Signed-off-by: Yvonnick Esnault <[email protected]>
No description provided.