mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-29 07:00:55 +02:00
multi: Fix typos [skip ci]
This commit is contained in:
@@ -23,7 +23,7 @@ const (
|
||||
// Enforce that etcdLeaderElector implements the LeaderElector interface.
|
||||
var _ LeaderElector = (*etcdLeaderElector)(nil)
|
||||
|
||||
// etcdLeaderElector is an implemetation of LeaderElector using etcd as the
|
||||
// etcdLeaderElector is an implementation of LeaderElector using etcd as the
|
||||
// election governor.
|
||||
type etcdLeaderElector struct {
|
||||
id string
|
||||
|
@@ -23,7 +23,7 @@ func RegisterLeaderElectorFactory(id string, factory leaderElectorFactoryFunc) {
|
||||
leaderElectorFactories[id] = factory
|
||||
}
|
||||
|
||||
// MakeLeaderElector will constuct a LeaderElector identified by id with the
|
||||
// MakeLeaderElector will construct a LeaderElector identified by id with the
|
||||
// passed arguments.
|
||||
func MakeLeaderElector(ctx context.Context, id string, args ...interface{}) (
|
||||
LeaderElector, error) {
|
||||
|
Reference in New Issue
Block a user