Skip to content

Commit

Permalink
Merge pull request #978 from lrweck/patch-1
Browse files Browse the repository at this point in the history
forward GrainCallOption to context on Cluster
  • Loading branch information
rogeralsing authored Nov 29, 2023
2 parents 3fd0e0d + a939835 commit 96b6848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func (c *Cluster) Get(identity string, kind string) *actor.PID {
}

func (c *Cluster) Request(identity string, kind string, message interface{}, option ...GrainCallOption) (interface{}, error) {
return c.context.Request(identity, kind, message)
return c.context.Request(identity, kind, message, option...)
}

func (c *Cluster) GetClusterKind(kind string) *ActivatedKind {
Expand Down

0 comments on commit 96b6848

Please sign in to comment.