Skip to content

Commit

Permalink
cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
rogeralsing committed Nov 23, 2023
1 parent 7bf91ca commit 0c7aecb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cluster/clusterproviders/test/test_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func NewTestProvider(agent *InMemAgent, options ...ProviderOption) *Provider {

func (t *Provider) StartMember(c *cluster.Cluster) error {

c.ActorSystem.Logger.Debug("start cluster member")
c.ActorSystem.Logger().Debug("start cluster member")
t.memberList = c.MemberList
host, port, err := c.ActorSystem.GetHostPort()
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion remote/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,5 +125,5 @@ func (r *Remote) SendMessage(pid *actor.PID, header actor.ReadonlyMessageHeader,
}

func (r *Remote) Logger() *slog.Logger {
return r.Logger()
return r.actorSystem.Logger()
}

0 comments on commit 0c7aecb

Please sign in to comment.