From ab30eadd5dbece0527072ffc6ad6da583b2a3979 Mon Sep 17 00:00:00 2001 From: Bartek Nowotarski Date: Mon, 15 Aug 2022 23:09:06 +0200 Subject: [PATCH] ingest/ledgerbackend: Fix Windows build --- ingest/ledgerbackend/stellar_core_runner_windows.go | 3 +-- .../horizon/internal/scripts/check_release_hash/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ingest/ledgerbackend/stellar_core_runner_windows.go b/ingest/ledgerbackend/stellar_core_runner_windows.go index f942a44971..47368a55b6 100644 --- a/ingest/ledgerbackend/stellar_core_runner_windows.go +++ b/ingest/ledgerbackend/stellar_core_runner_windows.go @@ -5,7 +5,6 @@ package ledgerbackend import ( "fmt" - "os/exec" "github.com/Microsoft/go-winio" ) @@ -16,7 +15,7 @@ func (c *stellarCoreRunner) getPipeName() string { return fmt.Sprintf(`\\.\pipe\%s`, c.nonce) } -func (c *stellarCoreRunner) start(cmd cmd) (pipe, error) { +func (c *stellarCoreRunner) start(cmd cmdI) (pipe, error) { // First set up the server pipe. listener, err := winio.ListenPipe(c.getPipeName(), nil) if err != nil { diff --git a/services/horizon/internal/scripts/check_release_hash/Dockerfile b/services/horizon/internal/scripts/check_release_hash/Dockerfile index 431f813462..da22ab0e53 100644 --- a/services/horizon/internal/scripts/check_release_hash/Dockerfile +++ b/services/horizon/internal/scripts/check_release_hash/Dockerfile @@ -1,5 +1,5 @@ # Change to Go version used in CI or rebuild with --build-arg. -ARG GO_IMAGE=golang:1.18 +ARG GO_IMAGE=golang:1.19 FROM $GO_IMAGE WORKDIR /go/src/github.com/stellar/go