Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
huaqing1994 committed Nov 4, 2024
1 parent b5b0191 commit 417289d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/hostagent/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 417289d

Please sign in to comment.