try to figure out what to do with these

This commit is contained in:
Jeff Carr 2025-09-08 09:25:20 -05:00
parent c3afc8c2a1
commit 66802a287f
1 changed files with 7 additions and 1 deletions

View File

@ -26,7 +26,13 @@ func doPull() error {
newrepo.URL = repo.URL newrepo.URL = repo.URL
submit.Append(newrepo) submit.Append(newrepo)
} }
submit.HttpPost(myServer(), "check") updatepb, regPB, err := submit.HttpPost(myServer(), "check")
if regPB == nil || err != nil {
log.Info("regPB==nil or err:", err)
return nil
}
log.Infof("pull check %s pb.Len()=%d client.Len()=%d server.Len()=%d err=%v\n", regPB.URL, updatepb.Len(), regPB.ClientDataLen, regPB.ServerDataLen, err)
return nil
} }
// below this, you must not be in 'normal' mode // below this, you must not be in 'normal' mode