set PB tables are working
This commit is contained in:
parent
1e3f4a3b9f
commit
bda5fb4fbe
11
doPatch.go
11
doPatch.go
|
@ -45,7 +45,16 @@ func doPatchSubmit() error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
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
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue