From c3b564942b624d54037df0689f967a674a6842c3 Mon Sep 17 00:00:00 2001 From: Paulo Sousa Date: Thu, 23 May 2024 13:30:03 -0300 Subject: [PATCH] fix lint --- pkg/healthchecker/health_checker_linux.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/healthchecker/health_checker_linux.go b/pkg/healthchecker/health_checker_linux.go index 724f966b3..c6d61a180 100644 --- a/pkg/healthchecker/health_checker_linux.go +++ b/pkg/healthchecker/health_checker_linux.go @@ -66,13 +66,13 @@ func getRepairFunc(hco *options.HealthCheckerOptions) func() { // Use "docker ps" for docker health check. Not using crictl for docker to remove // dependency on the kubelet. return func() { - execCommand(types.CmdTimeout, "pkill", "-SIGUSR1", "dockerd") - execCommand(types.CmdTimeout, "systemctl", "kill", "--kill-who=main", hco.Service) + _, _ = execCommand(types.CmdTimeout, "pkill", "-SIGUSR1", "dockerd") + _, _ = execCommand(types.CmdTimeout, "systemctl", "kill", "--kill-who=main", hco.Service) } default: // Just kill the service for all other components return func() { - execCommand(types.CmdTimeout, "systemctl", "kill", "--kill-who=main", hco.Service) + _, _ = execCommand(types.CmdTimeout, "systemctl", "kill", "--kill-who=main", hco.Service) } } }