From e66b9b342eb4831bfc270d362cc416eff94ec24e Mon Sep 17 00:00:00 2001 From: Luca Di Maio Date: Fri, 12 Jan 2024 08:58:06 +0100 Subject: [PATCH] fix: linting and formatting Signed-off-by: Luca Di Maio --- pkg/driver/docker/docker.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/driver/docker/docker.go b/pkg/driver/docker/docker.go index 882c4c690..6509d1344 100644 --- a/pkg/driver/docker/docker.go +++ b/pkg/driver/docker/docker.go @@ -326,7 +326,6 @@ func (d *dockerDriver) EnsurePath(path *config.Mount) *config.Mount { // we do this only is DOCKER_HOST is not docker-desktop engine, but // a direct TCP connection to a docker daemon running in WSL if strings.Contains(v, "DOCKER_HOST=tcp://") { - unixPath := path.Source unixPath = strings.Replace(unixPath, "C:", "c", 1) unixPath = strings.ReplaceAll(unixPath, "\\", "/")