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

Release 4.4.b - for terrafrom sdk cut over #118

Merged
merged 21 commits into from
Aug 5, 2024
Merged

Release 4.4.b - for terrafrom sdk cut over #118

merged 21 commits into from
Aug 5, 2024

Conversation

SivaanandM
Copy link
Contributor

No description provided.

@SivaanandM SivaanandM closed this Jul 26, 2024
@SivaanandM SivaanandM reopened this Jul 26, 2024
@@ -18,6 +21,11 @@ func (h *V1Client) ToggleMaintenanceOnNode(nodeMaintenance *models.V1MachineMain
return err
}

// GetNodeMaintenanceStatus retrieves the maintenance status of a specific node.
func (h *V1Client) GetNodeMaintenanceStatus(fn GetMaintenanceStatus, ConfigUID, machineName, nodeID string) (*models.V1MachineMaintenanceStatus, error) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Curious to understand how this function simplifies things on the TF side. You still need to provide a cloud-specific function as a param, so it's not providing anything that's actually generic.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I'll still approve, but I don't see how this is any better than just calling the function you want directly.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

so basically from terraform we are sending cloud specific function as parameter, will simplify it soon

@SivaanandM SivaanandM merged commit cd5a464 into main Aug 5, 2024
5 checks passed
@SivaanandM SivaanandM deleted the release-4.4.b branch August 5, 2024 05:32
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