Skip to content

Commit 0cebdef

Browse files
authored
Merge pull request #1045 from qazwsxedckll/fix/default-grain-call-options
fix: overwrites when starting two clustes in memory
2 parents c318a5a + 459f7c2 commit 0cebdef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cluster/default_context.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func (dcc *DefaultContext) Request(identity, kind string, message interface{}, o
3939
var resp interface{}
4040

4141
var counter int
42-
callConfig := DefaultGrainCallConfig(dcc.cluster)
42+
callConfig := NewGrainCallOptions(dcc.cluster)
4343
for _, o := range opts {
4444
o(callConfig)
4545
}

0 commit comments

Comments
 (0)