diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 } |
