summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-17 04:06:35 -0500
committerJeff Carr <[email protected]>2025-10-17 04:06:35 -0500
commitb5588034d45ad46642eef6dbd91c4ef5f463a7ff (patch)
tree030a465ae779a0a1f4879c5af33715d978f51b62
parent10205f1af9a45215a32b5489331576559df79e07 (diff)
keep removing this stuffv0.23.145
-rw-r--r--http.go6
-rw-r--r--prepareRelease.go2
2 files changed, 3 insertions, 5 deletions
diff --git a/http.go b/http.go
index 40c5e6f..db54d57 100644
--- a/http.go
+++ b/http.go
@@ -20,14 +20,12 @@ func cleanURL(url string) string {
func okHandler(w http.ResponseWriter, r *http.Request) {
var route string
route = cleanURL(r.URL.Path)
- log.HttpMode(w)
- defer log.HttpMode(nil)
switch route {
case "/releaseList":
- footer := me.forge.PrintHumanTable(me.found)
+ footer := me.found.PrintDefaultTB()
log.Info("me.found len:", me.found.Len())
- log.Info("PrintHumanTable() footer:", footer)
+ log.Info("PrintTable() footer:", footer)
return
default:
log.Info("BAD URL = " + route)
diff --git a/prepareRelease.go b/prepareRelease.go
index e6598f8..b12889f 100644
--- a/prepareRelease.go
+++ b/prepareRelease.go
@@ -224,7 +224,7 @@ func rePrepareRelease() {
}
}
- me.forge.PrintHumanTable(me.found)
+ me.found.PrintDefaultTB()
// todo: verify each found repo is on the master branch
for repo := range me.found.IterAll() {
if repo.CurrentBranchName != repo.MasterBranchName {