From 8a929cb307fd720e5755a48f1bdc5e9d956a53cd Mon Sep 17 00:00:00 2001 From: Crypt Keeper <64215+codefromthecrypt@users.noreply.github.com> Date: Mon, 12 Apr 2021 08:49:27 +0800 Subject: [PATCH] Update pkg/binary/envoytest/util.go Co-authored-by: Takeshi Yoneda --- pkg/binary/envoytest/util.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/binary/envoytest/util.go b/pkg/binary/envoytest/util.go index f4141ed4..661ae3bf 100644 --- a/pkg/binary/envoytest/util.go +++ b/pkg/binary/envoytest/util.go @@ -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)