Skip to content

Commit

Permalink
come on
Browse files Browse the repository at this point in the history
  • Loading branch information
quantumsheep committed May 5, 2023
1 parent 92f8ad1 commit 6a0bf08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/core/testing_recorder.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func cassetteMatcher(r *http.Request, i cassette.Request) bool {
r.URL.Host = unixDockerEngine
}

r.URL.Host = regexp.MustCompile(`/./pipe/docker_engine`).ReplaceAllString(r.URL.Host, "/var/run/docker.sock")
r.URL.Host = regexp.MustCompile(`npipe:////./pipe/docker_engine`).ReplaceAllString(r.URL.Host, "/var/run/docker.sock")

if r.URL.Scheme == "npipe" {
r.URL.Scheme = "http"
Expand Down

0 comments on commit 6a0bf08

Please sign in to comment.