Skip to content

Commit

Permalink
fix revive issue
Browse files Browse the repository at this point in the history
  • Loading branch information
SivaanandM committed Jul 30, 2024
1 parent 9cd712d commit 88721e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/node_actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ func (h *V1Client) ToggleMaintenanceOnNode(nodeMaintenance *models.V1MachineMain
}

// GetNodeMaintenanceStatus retrieves the maintenance status of a specific node.
func (h *V1Client) GetNodeMaintenanceStatus(fn GetMaintenanceStatus, ConfigUid, machineName, nodeId string) (*models.V1MachineMaintenanceStatus, error) {
return fn(ConfigUid, machineName, nodeId)
func (h *V1Client) GetNodeMaintenanceStatus(fn GetMaintenanceStatus, ConfigUID, machineName, nodeId string) (*models.V1MachineMaintenanceStatus, error) {

Check failure on line 25 in client/node_actions.go

View workflow job for this annotation

GitHub Actions / build-with-coverage

var-naming: method parameter nodeId should be nodeID (revive)
return fn(ConfigUID, machineName, nodeId)
}

// GetNodeMaintenanceStatusAws retrieves maintenance status for an AWS IaaS node.
Expand Down

0 comments on commit 88721e6

Please sign in to comment.