Update dependency go modules in client for k8s v1.26.0

This commit is contained in:
Sunny Song
2022-12-12 19:30:26 +00:00
parent 9cd2fbc4ea
commit bb5a9019fb
17 changed files with 353 additions and 123 deletions

View File

@@ -7,9 +7,11 @@
package execabs
import "strings"
import (
"errors"
"os/exec"
)
func isGo119ErrDot(err error) bool {
// TODO: return errors.Is(err, exec.ErrDot)
return strings.Contains(err.Error(), "current directory")
return errors.Is(err, exec.ErrDot)
}