summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-11-05 16:10:31 -0600
committerJeff Carr <[email protected]>2025-11-05 16:10:31 -0600
commitb4d90fae8dd9967d2f5d8e6b62f29c9b1bafe6a1 (patch)
tree27335f202eeea1e7b2678c9fdcdb6aa7b65c5f5c /main.go
parent99f1b719cdee67353d12499308fca117cafd05f3 (diff)
moved to new stat.protov0.25.111v0.25.110
Diffstat (limited to 'main.go')
-rw-r--r--main.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/main.go b/main.go
index 790a374..cc3d81b 100644
--- a/main.go
+++ b/main.go
@@ -80,6 +80,13 @@ func setStats(repo *gitpb.Repo) error {
}
}
repo.UserStat = ref
+ if repo.Tags.Len() != stats.Len() {
+ log.Printf("tags Tags.len(%d) vs stats.Len(%d)\n", repo.Tags.Len(), stats.Len())
+ repo.Tags = stats
+ err = errors.New("adding stats to repo.Tags")
+ } else {
+ // log.Printf("tags already here with len(%d)\n", repo.Tags.Len())
+ }
return err
}