Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
felipemadero committed Dec 2, 2023
1 parent 1ec81f3 commit e5ee655
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e5ee655

Please sign in to comment.