This commit is contained in:
@@ -100,7 +100,6 @@ func (p *SyncedPool) GrainOwnerChangeHandler(data []byte) (uint16, []byte, error
|
||||
|
||||
for _, r := range p.remotes {
|
||||
if r.Host == string(idAndHostParts[1]) {
|
||||
|
||||
log.Printf("Remote grain %s changed to %s\n", idAndHostParts[0], idAndHostParts[1])
|
||||
p.mu.Lock()
|
||||
if p.local.grains[ToCartId(idAndHostParts[0])] != nil {
|
||||
@@ -198,7 +197,7 @@ func (p *SyncedPool) IsKnown(host string) bool {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return host != p.Hostname
|
||||
return host == p.Hostname
|
||||
}
|
||||
|
||||
func (p *SyncedPool) ExcludeKnown(hosts []string) []string {
|
||||
|
||||
Reference in New Issue
Block a user