Skip to content

Commit

Permalink
Update pkg/binary/envoytest/util.go
Browse files Browse the repository at this point in the history
Co-authored-by: Takeshi Yoneda <[email protected]>
  • Loading branch information
2 people authored and Adrian Cole committed Apr 12, 2021
1 parent b795aa7 commit 8a929cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/binary/envoytest/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ type RunKillOptions struct {
// RequireRunKill executes envoy, waits for ready, sends sigint, waits for termination, then unarchives the debug directory.
// It should be used when you just want to cycle through an Envoy lifecycle.
func RequireRunKill(t *testing.T, r binary.Runner, options RunKillOptions) {
key, _ := manifest.NewKey(Reference)
key, err := manifest.NewKey(Reference)
require.NoError(t, err)
var args []string
if options.Bootstrap != "" {
args = append(args, "-c", options.Bootstrap)
Expand Down

0 comments on commit 8a929cb

Please sign in to comment.