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

Manage status #6

Merged
merged 4 commits into from May 9, 2019
Merged

Manage status #6

merged 4 commits into from May 9, 2019

Conversation

enxebre
Copy link
Member

@enxebre enxebre commented May 9, 2019

  • Add status API types
  • Create proper struct type <-> rawExtension methods and tests for providerSpec and providerStatus
  • Add providerID and providerStatus to machine scope and use new struct type <-> rawExtension methods
  • Add reconcileMachineWithCloudState() to be called on Create for now

@@ -35,6 +36,7 @@ func newReconciler(scope *machineScope) *Reconciler {

// Create creates machine if and only if machine exists, handled by cluster-api
func (r *Reconciler) create() error {
defer r.reconcileMachineWithCloudState()
Copy link
Contributor

Choose a reason for hiding this comment

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

Can create be called multiple times for r? If so, what happens with the multiple defer calls?

@enxebre
Copy link
Member Author

enxebre commented May 9, 2019

/retest

@openshift-ci-robot openshift-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label May 9, 2019
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: enxebre

If they are not already assigned, you can assign the PR to them by writing /assign @enxebre in a comment when ready.

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@frobware
Copy link
Contributor

frobware commented May 9, 2019

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label May 9, 2019
@enxebre enxebre merged commit e9bd1fa into openshift:master May 9, 2019
RadekManak pushed a commit to RadekManak/cluster-api-provider-gcp that referenced this pull request Apr 12, 2023
Add API fields for initial implementation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants