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

feat(baremetal): fix WaitForServer and add WaitForServerInstall #263

Merged

Conversation

QuentinBrosse
Copy link
Contributor

@QuentinBrosse QuentinBrosse commented Nov 29, 2019

Split WaitForServer into two methods:

  • WaitForServer: waits for server creation.
  • WaitForServerInstall waits for server installation.

Fix status:

  • ServerStatusUndelivered means "delivering" so it is not a terminal state.
  • ServerInstallStatusToInstall means "ready to start an installation" so it is not a terminal state either.

example_test.go Outdated Show resolved Hide resolved
@QuentinBrosse QuentinBrosse changed the title fix(baremetal): fix WaitForServer feat(baremetal): fix WaitForServer and add WaitForServerInstall Nov 29, 2019
api/baremetal/v1alpha1/server_utils.go Outdated Show resolved Hide resolved
api/baremetal/v1alpha1/server_utils.go Show resolved Hide resolved
Copy link
Contributor

@kindermoumoute kindermoumoute left a comment

Choose a reason for hiding this comment

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

LGTM

@QuentinBrosse QuentinBrosse merged commit 8bd96cf into scaleway:master Nov 29, 2019
@QuentinBrosse QuentinBrosse deleted the baremetal/fix-wait-server branch November 29, 2019 15:30
@remyleone remyleone added the elastic-metal Elastic-metal issues, bugs and feature requests label Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
elastic-metal Elastic-metal issues, bugs and feature requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants