Skip to content

Commit

Permalink
Rename to externalHarnessFlag in Harnesses
Browse files Browse the repository at this point in the history
  • Loading branch information
thesamet committed Jun 8, 2020
1 parent 618561c commit b26d7c9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/harness/executor/harness.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ import (

"strings"

"github.com/golang/protobuf/proto"
harness "github.com/envoyproxy/protoc-gen-validate/tests/harness/go"
"github.com/golang/protobuf/proto"
"golang.org/x/net/context"
)

func Harnesses(goFlag bool, gogoFlag bool, ccFlag bool, javaFlag bool, pythonFlag bool, externalFlag string) []Harness {
func Harnesses(goFlag bool, gogoFlag bool, ccFlag bool, javaFlag bool, pythonFlag bool, externalHarnessFlag string) []Harness {
harnesses := make([]Harness, 0)
if goFlag {
harnesses = append(harnesses, InitHarness("tests/harness/go/main/go-harness"))
Expand All @@ -34,8 +34,8 @@ func Harnesses(goFlag bool, gogoFlag bool, ccFlag bool, javaFlag bool, pythonFla
if pythonFlag {
harnesses = append(harnesses, InitHarness("tests/harness/python/python-harness"))
}
if externalFlag != "" {
harnesses = append(harnesses, InitHarness(externalFlag))
if externalHarnessFlag != "" {
harnesses = append(harnesses, InitHarness(externalHarnessFlag))
}
return harnesses
}
Expand Down

0 comments on commit b26d7c9

Please sign in to comment.