Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
Fix logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
Baliedge committed Sep 28, 2023
1 parent d2e07af commit f6046d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gubernator.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,11 @@ func NewV1Instance(conf Config) (s *V1Instance, err error) {
return nil, err
}

setter.SetDefault(&conf.Logger, logrus.WithField("category", "gubernator"))
s = &V1Instance{
log: conf.Logger,
conf: conf,
}
setter.SetDefault(&s.log, logrus.WithField("category", "gubernator"))

s.workerPool = NewWorkerPool(&conf)
s.global = newGlobalManager(conf.Behaviors, s)
Expand Down

0 comments on commit f6046d1

Please sign in to comment.