diff options
| author | Jeff Carr <[email protected]> | 2025-09-08 09:25:20 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-08 09:25:20 -0500 |
| commit | 66802a287f5bb773067df7a455242f93b0e565b0 (patch) | |
| tree | f1e243cd1f53fc993672b234fe7baed3af2e0af0 | |
| parent | c3afc8c2a14ee727d40f68a1802be097b346b9b2 (diff) | |
try to figure out what to do with thesev0.22.151
| -rw-r--r-- | doPull.go | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |
