From bda5fb4fbe221e9bb5e64488882eb3e7b3187947 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 23 Sep 2025 09:02:00 -0500 Subject: [PATCH] set PB tables are working --- doPatch.go | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/doPatch.go b/doPatch.go index 064bd31..d9eb301 100644 --- a/doPatch.go +++ b/doPatch.go @@ -45,7 +45,16 @@ func doPatchSubmit() error { if err != nil { return err } - _, _, err = pset.Patches.HttpPostVerbose(myServer(), "new") + if pset.Patches == nil { + log.Info("pset.Patches == nil") + return err + } + if pset.Patches.Len() == 0 { + log.Info("did not find any patches") + return nil + } + pset.Patches.PrintTable() + _, _, err = pset.HttpPost(myServer(), "new") return err }