chore: change the package name to hivemind
This commit is contained in:
parent
4d44012d06
commit
30750eebe3
17 changed files with 57 additions and 57 deletions
|
|
@ -4,11 +4,11 @@ import (
|
|||
"context"
|
||||
"sync"
|
||||
|
||||
"git.wzray.com/homelab/mastermind/internal/config"
|
||||
"git.wzray.com/homelab/mastermind/internal/roles"
|
||||
"git.wzray.com/homelab/mastermind/internal/state"
|
||||
"git.wzray.com/homelab/mastermind/internal/types"
|
||||
"git.wzray.com/homelab/mastermind/internal/web/client"
|
||||
"git.wzray.com/homelab/hivemind/internal/config"
|
||||
"git.wzray.com/homelab/hivemind/internal/roles"
|
||||
"git.wzray.com/homelab/hivemind/internal/state"
|
||||
"git.wzray.com/homelab/hivemind/internal/types"
|
||||
"git.wzray.com/homelab/hivemind/internal/web/client"
|
||||
)
|
||||
|
||||
type Role struct {
|
||||
|
|
@ -72,7 +72,7 @@ func (r *Role) onLeave(node types.Node) (bool, error) {
|
|||
return false, err
|
||||
}
|
||||
|
||||
r.notify(types.PathNodeLeave, node.Hostname)
|
||||
r.notify(types.PathNodeLeave, node)
|
||||
|
||||
return true, nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue