Update hcsshim tag to v0.10.0-rc.9

Signed-off-by: Kirtana Ashok <kiashok@microsoft.com>
This commit is contained in:
Kirtana Ashok
2023-07-13 09:50:09 -07:00
parent a94918b591
commit 56d80f81a2
204 changed files with 30930 additions and 2659 deletions

View File

@@ -5,6 +5,7 @@ package runhcs
import (
"bytes"
"context"
"errors"
"fmt"
"os"
"os/exec"
@@ -36,6 +37,11 @@ func getCommandPath() string {
pathi := runhcsPath.Load()
if pathi == nil {
path, err := exec.LookPath(command)
if err != nil {
if errors.Is(err, exec.ErrDot) {
err = nil
}
}
if err != nil {
// LookPath only finds current directory matches based on the
// callers current directory but the caller is not likely in the