From e4f2f693531b2ad7b156a9b1120b009cef743452 Mon Sep 17 00:00:00 2001 From: Sam Alba Date: Wed, 10 Nov 2021 17:25:02 -0800 Subject: [PATCH] solver: fixed npipe support on Windows Signed-off-by: Sam Alba --- solver/socketprovider_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solver/socketprovider_windows.go b/solver/socketprovider_windows.go index b8439e69..aa47b625 100644 --- a/solver/socketprovider_windows.go +++ b/solver/socketprovider_windows.go @@ -13,7 +13,7 @@ import ( ) func dialStream(id string) (net.Conn, error) { - if !strings.HasPrefix(id, unixPrefix) { + if !strings.HasPrefix(id, npipePrefix) { return nil, fmt.Errorf("invalid socket forward key %s", id) }