From b4cf245dc2d79d9a723dde93e4633e3b33a4a487 Mon Sep 17 00:00:00 2001 From: absolutelightning Date: Wed, 28 Jun 2023 08:14:46 +0530 Subject: [PATCH] fix mmap call --- command/connect/envoy/exec_windows.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/command/connect/envoy/exec_windows.go b/command/connect/envoy/exec_windows.go index a1a72f3844..9bc17c565b 100644 --- a/command/connect/envoy/exec_windows.go +++ b/command/connect/envoy/exec_windows.go @@ -29,8 +29,6 @@ func makeBootstrapTemp(bootstrapJSON []byte) (string, error) { } defer f.Unmap() - f.Write(bootstrapJSON) - f.Sync() // We can't wait for the process since we need to exec into Envoy before it // will be able to complete so it will be remain as a zombie until Envoy is