Skip to content

Conversation

yesnault
Copy link
Member

No description provided.

Signed-off-by: Yvonnick Esnault <yvonnick.esnault@corp.ovh.com>
Signed-off-by: Yvonnick Esnault <yvonnick.esnault@corp.ovh.com>
// 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)
Copy link
Member

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

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed

Copy link
Member

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"

@ovh-cds
Copy link
Collaborator

ovh-cds commented Apr 27, 2020

CDS Report build-all-cds#13083.0 ✘

  • Build
    • Build and Package All ✔
    • Build Debpacker ✔
    • Build OS-Ansible-Inventory ✔
    • Build SMTPMock ✔
    • Lint UI Translate ✔
    • Test CLI ✔
    • Test Engine ✔
    • Test SDK ✔
    • Test SDK Rust ✔
    • Test UI ✘

yesnault and others added 3 commits April 27, 2020 15:12
Co-Authored-By: François Samin <francois.samin@corp.ovh.com>
Signed-off-by: Yvonnick Esnault <yvonnick.esnault@corp.ovh.com>
Signed-off-by: Yvonnick Esnault <yvonnick.esnault@corp.ovh.com>
@yesnault yesnault requested a review from fsamin April 27, 2020 15:04
@yesnault yesnault merged commit 1e25af6 into master Apr 28, 2020
@richardlt richardlt deleted the ye-openstack-model branch May 20, 2020 14:25
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.

5 participants