Skip to content

Commit

Permalink
Pass mutex by-ref
Browse files Browse the repository at this point in the history
  • Loading branch information
t0yv0 committed Nov 2, 2022
1 parent 37d2484 commit 3c6e71e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/engine/deployment.go
Expand Up @@ -63,7 +63,7 @@ func ProjectInfoContext(projinfo *Projinfo, host plugin.Host,
if logFile := os.Getenv("PULUMI_DEBUG_GRPC"); logFile != "" {
di, err := interceptors.NewDebugInterceptor(interceptors.DebugInterceptorOptions{
LogFile: logFile,
Mutex: &ctx.DebugTraceMutex,
Mutex: ctx.DebugTraceMutex,
})
if err != nil {
return "", "", nil, err
Expand Down
2 changes: 1 addition & 1 deletion pkg/resource/deploy/source_eval.go
Expand Up @@ -577,7 +577,7 @@ func sourceEvalServeOptions(ctx *plugin.Context, tracingSpan opentracing.Span) [
if logFile := os.Getenv("PULUMI_DEBUG_GRPC"); logFile != "" {
di, err := interceptors.NewDebugInterceptor(interceptors.DebugInterceptorOptions{
LogFile: logFile,
Mutex: &ctx.DebugTraceMutex,
Mutex: ctx.DebugTraceMutex,
})
if err != nil {
// ignoring
Expand Down

0 comments on commit 3c6e71e

Please sign in to comment.