go-clone --build

This commit is contained in:
Jeff Carr 2024-12-01 22:21:20 -06:00
parent 6b424b0e89
commit cf74b31214
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
}
// dur := time.Since(gitAge)
// log.Info(fmt.Sprintf("%-60s %s %s %s", repo.Name(), lastTag, shell.FormatDuration(dur), lastTag, tag.Name()))
log.Info(fmt.Sprintf("%s %d %s", repo.Name(), gitAge.Unix(), lastTag))
fmt.Fprintf(w, "%s %d %s\n", repo.Name(), gitAge.Unix(), lastTag)
/*
for _, tag := range repo.Tags.ListAll() {
log.Info(fmt.Sprintf("%-60s %s", "", tag.Name()))