Skip to content

Commit

Permalink
[v0.11] make tracing socket forward error non-fatal
Browse files Browse the repository at this point in the history
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
  • Loading branch information
tonistiigi committed Jan 9, 2023
1 parent 96a7478 commit c5143c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/buildkitd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,8 @@ func newController(c *cli.Context, cfg *config.Config) (*control.Controller, err
if tc != nil {
traceSocket = filepath.Join(cfg.Root, "otel-grpc.sock")
if err := runTraceController(traceSocket, tc); err != nil {
return nil, err
logrus.Warnf("failed set up otel-grpc controller: %v", err)
traceSocket = ""
}
}

Expand Down

0 comments on commit c5143c0

Please sign in to comment.