From 0cc4feb55222433109266982185bf60b0449847e Mon Sep 17 00:00:00 2001 From: Sivaanand Murugesan Date: Tue, 30 Jul 2024 10:51:26 +0530 Subject: [PATCH] fix --- client/node_actions.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/node_actions.go b/client/node_actions.go index bb8006c4..9c973a15 100644 --- a/client/node_actions.go +++ b/client/node_actions.go @@ -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) { + return fn(ConfigUID, machineName, nodeID) } // GetNodeMaintenanceStatusAws retrieves maintenance status for an AWS IaaS node.