better logs
All checks were successful
Build and Publish / BuildAndDeployAmd64 (push) Successful in 28s
Build and Publish / BuildAndDeploy (push) Successful in 2m20s

This commit is contained in:
matst80
2024-11-12 21:33:01 +01:00
parent 80d2c5b749
commit 6abd818ed6
2 changed files with 1 additions and 2 deletions

View File

@@ -81,7 +81,6 @@ func (g *RemoteHost) GetCartMappings() ([]CartId, error) {
}
func (r *RemoteHost) ConfirmChange(id CartId, host string) error {
log.Printf("Confirming change %s to %s", id, host)
reply, err := r.Call(RemoteGrainChanged, AckChange, []byte(fmt.Sprintf("%s;%s", id, host)))
if err != nil {

View File

@@ -105,7 +105,7 @@ func (p *SyncedPool) GrainOwnerChangeHandler(data []byte) (PoolMessage, []byte,
}
id := ToCartId(idAndHostParts[0])
host := idAndHostParts[1]
log.Println("Handling grain owner change to %s for id %s\n", host, id)
log.Printf("Handling remote grain owner change to %s for id %s\n", host, id)
for _, r := range p.remotes {
if r.Host == host {
// log.Printf("Remote grain %s changed to %s\n", id, host)