From 4836a9b33ab8fda69233a88a17ef65f1839c85f3 Mon Sep 17 00:00:00 2001 From: Allen Zhong Date: Thu, 27 Jan 2022 14:48:13 +0800 Subject: [PATCH] fix build error --- pkg/cluster/executor/local.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cluster/executor/local.go b/pkg/cluster/executor/local.go index 8e04aa7553..9a3a13f475 100644 --- a/pkg/cluster/executor/local.go +++ b/pkg/cluster/executor/local.go @@ -82,7 +82,7 @@ func (l *Local) Execute(ctx context.Context, cmd string, sudo bool, timeout ...t command.Stdout = stdout command.Stderr = stderr - err := command.Run() + err = command.Run() zap.L().Info("LocalCommand", zap.String("cmd", cmd),