summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-08 09:25:20 -0500
committerJeff Carr <[email protected]>2025-09-08 09:25:20 -0500
commit66802a287f5bb773067df7a455242f93b0e565b0 (patch)
treef1e243cd1f53fc993672b234fe7baed3af2e0af0
parentc3afc8c2a14ee727d40f68a1802be097b346b9b2 (diff)
try to figure out what to do with thesev0.22.151
-rw-r--r--doPull.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/doPull.go b/doPull.go
index 8303ff8..a850816 100644
--- a/doPull.go
+++ b/doPull.go
@@ -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