try to figure out what to do with these
This commit is contained in:
parent
c3afc8c2a1
commit
66802a287f
|
@ -26,7 +26,13 @@ func doPull() error {
|
|||
newrepo.URL = repo.URL
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue