From a39760aeec8352edb7ba18e3de9365e4ede01f99 Mon Sep 17 00:00:00 2001 From: absolutelightning Date: Tue, 4 Jul 2023 10:44:11 +0530 Subject: [PATCH] fix undefined n --- command/connect/envoy/exec_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/connect/envoy/exec_windows.go b/command/connect/envoy/exec_windows.go index 7b5bd951bd..e70108794c 100644 --- a/command/connect/envoy/exec_windows.go +++ b/command/connect/envoy/exec_windows.go @@ -42,7 +42,7 @@ func makeBootstrapPipe(bootstrapJSON []byte) (string, error) { } // Write the config - n, err = pipeConn.Write(bootstrapJSON) + n, err := pipeConn.Write(bootstrapJSON) if err != nil { return pipeFile, err }