Skip to content

Commit

Permalink
Addressed review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
SivaanandM committed Jul 22, 2024
1 parent 59f2b79 commit a7bbb4e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 97 deletions.
71 changes: 0 additions & 71 deletions client/cluster_edge.go.defer

This file was deleted.

26 changes: 0 additions & 26 deletions client/node_actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,19 +75,6 @@ func (h *V1Client) GetNodeMaintenanceStatusAzure(configUid, machineName, nodeId
return resp.Payload.Status.MaintenanceStatus, nil
}

//func (h *V1Client) GetNodeMaintenanceStatusCoxEdge(configUid, machineName, nodeId string) (*models.V1MachineMaintenanceStatus, error) {
// params := clientV1.NewV1CloudConfigsCoxEdgePoolMachinesUIDGetParamsWithContext(h.ctx).
// WithConfigUID(configUid).
// WithMachinePoolName(machineName).
// WithMachineUID(nodeId)
//
// resp, err := h.Client.V1CloudConfigsCoxEdgePoolMachinesUIDGet(params)
// if err != nil {
// return nil, err
// }
// return resp.Payload.Status.MaintenanceStatus, nil
//}

func (h *V1Client) GetNodeMaintenanceStatusEdgeNative(configUid, machineName, nodeId string) (*models.V1MachineMaintenanceStatus, error) {
params := clientV1.NewV1CloudConfigsEdgeNativePoolMachinesUIDGetParamsWithContext(h.ctx).
WithConfigUID(configUid).
Expand All @@ -101,19 +88,6 @@ func (h *V1Client) GetNodeMaintenanceStatusEdgeNative(configUid, machineName, no
return resp.Payload.Status.MaintenanceStatus, nil
}

//func (h *V1Client) GetNodeMaintenanceStatusEdge(configUid, machineName, nodeId string) (*models.V1MachineMaintenanceStatus, error) {
// params := clientV1.NewV1CloudConfigsEdgePoolMachinesUIDGetParamsWithContext(h.ctx).
// WithConfigUID(configUid).
// WithMachinePoolName(machineName).
// WithMachineUID(nodeId)
//
// resp, err := h.Client.V1CloudConfigsEdgePoolMachinesUIDGet(params)
// if err != nil {
// return nil, err
// }
// return resp.Payload.Status.MaintenanceStatus, nil
//}

func (h *V1Client) GetNodeMaintenanceStatusEdgeVsphere(configUid, machineName, nodeId string) (*models.V1MachineMaintenanceStatus, error) {
params := clientV1.NewV1CloudConfigsVspherePoolMachinesUIDGetParamsWithContext(h.ctx).
WithConfigUID(configUid).
Expand Down

0 comments on commit a7bbb4e

Please sign in to comment.