From 417289d877a3cbd5414c06cabd8f46b954fd6d58 Mon Sep 17 00:00:00 2001 From: Huaqing Mo Date: Mon, 4 Nov 2024 09:50:42 +0800 Subject: [PATCH] fix lint --- pkg/hostagent/service.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/hostagent/service.go b/pkg/hostagent/service.go index ef9e38a..3f16ed9 100644 --- a/pkg/hostagent/service.go +++ b/pkg/hostagent/service.go @@ -32,8 +32,10 @@ type HostAgentJobType string const ( defaultTimeout = 1 * time.Minute + // HostAgentJobTypeExpandRootPartition is the job type for expanding the root partition. HostAgentJobTypeExpandRootPartition HostAgentJobType = "expand-root-partition" - HostAgentJobTypeRestartKubelet HostAgentJobType = "restart-kubelet" + // HostAgentJobTypeRestartKubelet is the job type for restarting the kubelet. + HostAgentJobTypeRestartKubelet HostAgentJobType = "restart-kubelet" ) func GetHostJob(ctx goctx.Context, c client.Client, namespace, name string) (*agentv1.HostOperationJob, error) {