diff options
| author | Jeff Carr <[email protected]> | 2025-09-23 09:02:00 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-23 09:02:00 -0500 |
| commit | bda5fb4fbe221e9bb5e64488882eb3e7b3187947 (patch) | |
| tree | 520689af471238b838291413fac8c45060a537c5 /doPatch.go | |
| parent | 1e3f4a3b9feb0cc8bfa450a311ccca2b5f36362f (diff) | |
set PB tables are working
Diffstat (limited to 'doPatch.go')
| -rw-r--r-- | doPatch.go | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 } |
