Skip to content

Commit

Permalink
ingest/ledgerbackend: Fix Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekn committed Aug 15, 2022
1 parent 1677685 commit ab30ead
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions ingest/ledgerbackend/stellar_core_runner_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ package ledgerbackend

import (
"fmt"
"os/exec"

"github.com/Microsoft/go-winio"
)
Expand All @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit ab30ead

Please sign in to comment.