internal/envoy: always extract envoy (#2160)

This commit is contained in:
Travis Groth 2021-04-30 15:30:40 -04:00 committed by GitHub
parent d9cc26a2e0
commit dae1836dff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 20 deletions

View file

@ -74,7 +74,7 @@ func NewServer(ctx context.Context, src config.Source, grpcPort, httpPort string
return nil, fmt.Errorf("error creating temporary working directory for envoy: %w", err)
}
envoyPath, err := extractEmbeddedEnvoy()
envoyPath, err := extractEmbeddedEnvoy(ctx)
if err != nil {
log.Warn(ctx).Err(err).Send()
envoyPath = "envoy"