Skip to content

Commit

Permalink
Merge pull request #1045 from qazwsxedckll/fix/default-grain-call-opt…
Browse files Browse the repository at this point in the history
…ions

fix: overwrites when starting two clustes in memory
  • Loading branch information
rogeralsing authored Mar 31, 2024
2 parents c318a5a + 459f7c2 commit 0cebdef
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 0cebdef

Please sign in to comment.