@@ -16,7 +16,6 @@ import (
16
16
"syscall"
17
17
"time"
18
18
19
- argoexec "github.com/argoproj/pkg/exec"
20
19
"github.com/bmatcuk/doublestar/v4"
21
20
"github.com/go-git/go-git/v5"
22
21
"github.com/go-git/go-git/v5/config"
@@ -31,11 +30,11 @@ import (
31
30
apierrors "k8s.io/apimachinery/pkg/api/errors"
32
31
utilnet "k8s.io/apimachinery/pkg/util/net"
33
32
34
- "github.com/argoproj/argo-cd/v2 /common"
35
- certutil "github.com/argoproj/argo-cd/v2 /util/cert"
36
- "github.com/argoproj/argo-cd/v2 /util/env"
37
- executil "github.com/argoproj/argo-cd/v2 /util/exec"
38
- "github.com/argoproj/argo-cd/v2 /util/proxy"
33
+ "github.com/argoproj/argo-cd/v3 /common"
34
+ certutil "github.com/argoproj/argo-cd/v3 /util/cert"
35
+ "github.com/argoproj/argo-cd/v3 /util/env"
36
+ executil "github.com/argoproj/argo-cd/v3 /util/exec"
37
+ "github.com/argoproj/argo-cd/v3 /util/proxy"
39
38
)
40
39
41
40
var ErrInvalidRepoURL = fmt .Errorf ("repo URL is invalid" )
@@ -804,7 +803,7 @@ func (m *nativeGitClient) runCmdOutput(cmd *exec.Cmd, ropts runOpts) (string, er
804
803
}
805
804
cmd .Env = proxy .UpsertEnv (cmd , m .proxy , "" )
806
805
opts := executil.ExecRunOpts {
807
- TimeoutBehavior : argoexec .TimeoutBehavior {
806
+ TimeoutBehavior : executil .TimeoutBehavior {
808
807
Signal : syscall .SIGTERM ,
809
808
ShouldWait : true ,
810
809
},
0 commit comments