Skip to content

Commit

Permalink
small refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimedrolity committed Dec 6, 2022
1 parent c247489 commit 7e0009d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions notifier/senders/selfstate/selfstate.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,10 @@ type Sender struct {

// NewSender creates Sender instance.
func NewSender(logger moira.Logger, db moira.Database) *Sender {
sender := &Sender{
return &Sender{
Database: db,
logger: logger,
}

sender.logger = logger

return sender
}

// SendEvents implements Sender interface Send
Expand Down

0 comments on commit 7e0009d

Please sign in to comment.