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

migrate to instances v2 #776

Merged
merged 1 commit into from
Nov 24, 2024
Merged

Conversation

varshavaradarajan
Copy link
Contributor

No description provided.

return "", err
}
// cloudprovider.InstancesV2 methods
// InstancesV2 require ProviderID to be present, so the interface methods all use providerID to get droplet.
Copy link
Contributor Author

Choose a reason for hiding this comment

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


return nil, cloudprovider.InstanceNotFound
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, I need to handle this in InstancesV2

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Handled, with a note that returning false with no error from InstanceExists will remove the node from the cluster. We return nil error if godo err response is http.StatusNotFound.

@varshavaradarajan
Copy link
Contributor Author

Will merge this, cause dev image to be released, will run the iteration e2e tests with the dev image and release CCM is all goes well.

@varshavaradarajan varshavaradarajan merged commit 8f64eb1 into master Nov 24, 2024
3 checks passed
@varshavaradarajan varshavaradarajan deleted the varsha/migrate-to-instances-v2 branch November 24, 2024 13:56
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.

2 participants