set PB tables are working

This commit is contained in:
Jeff Carr 2025-09-23 09:02:00 -05:00
parent 1e3f4a3b9f
commit bda5fb4fbe
1 changed files with 10 additions and 1 deletions

View File

@ -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
}