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
Conversation
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
… type <-> rawExtension methods
@@ -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() |
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.
Can create be called multiple times for r
? If so, what happens with the multiple defer
calls?
/retest |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: If they are not already assigned, you can assign the PR to them by writing 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 |
/lgtm |
Add API fields for initial implementation