rename Account.Deliver to Account.DeliverDestination

the name was too generic compared with the other Deliver functions
This commit is contained in:
Mechiel Lukkien
2023-09-15 17:51:28 +02:00
parent 3620d6f05e
commit ca5ef645f3
4 changed files with 6 additions and 6 deletions

2
ctl.go
View File

@ -340,7 +340,7 @@ func servectlcmd(ctx context.Context, ctl *ctl, shutdown func()) {
}
a.WithWLock(func() {
err := a.Deliver(log, addr, m, msgFile, true)
err := a.DeliverDestination(log, addr, m, msgFile, true)
ctl.xcheck(err, "delivering message")
log.Info("message delivered through ctl", mlog.Field("to", to))
})