Skip to content

Commit

Permalink
fix: using global varible causes overwrites when starting two cluster…
Browse files Browse the repository at this point in the history
…s in memory
  • Loading branch information
qazwsxedckll committed Mar 28, 2024
1 parent c318a5a commit 459f7c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/default_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func (dcc *DefaultContext) Request(identity, kind string, message interface{}, o
var resp interface{}

var counter int
callConfig := DefaultGrainCallConfig(dcc.cluster)
callConfig := NewGrainCallOptions(dcc.cluster)
for _, o := range opts {
o(callConfig)
}
Expand Down

0 comments on commit 459f7c2

Please sign in to comment.