From e5ee655e7653aa9261f38416830c5631e1f45445 Mon Sep 17 00:00:00 2001 From: Felipe Madero Date: Sat, 2 Dec 2023 02:31:08 -0300 Subject: [PATCH] nit --- utils/utils.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/utils.go b/utils/utils.go index 7eb1bc28..d9099299 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -145,6 +145,9 @@ func VerifySubnetHasCorrectParticipants( func InsideDockerContainer() (bool, error) { _, err := os.Stat(dockerEnvPath) if err != nil { + if errors.Is(err, fs.ErrNotExist) { + return false, nil + } return false, err } return true, nil