changes for autogenpb http functions

This commit is contained in:
Jeff Carr 2025-09-08 04:03:13 -05:00
parent c55e807262
commit d6a562849c
1 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ func doPatch() error {
if argv.Patch.Get != nil { if argv.Patch.Get != nil {
psets := forgepb.NewPatchsets() psets := forgepb.NewPatchsets()
newpb, _ := psets.HttpPostVerbose(myServer(), "get") newpb, _, _ := psets.HttpPostVerbose(myServer(), "get")
newpb.PrintTable() newpb.PrintTable()
me.forge.Patchsets = newpb me.forge.Patchsets = newpb
me.forge.SavePatchsets() me.forge.SavePatchsets()
@ -141,7 +141,7 @@ func doPatch() error {
// for patch := range applied.IterAll() { // for patch := range applied.IterAll() {
// log.Info("SEND APPLIED: newhash:", patch.NewHash, "commithash:", patch.CommitHash, "patch", patch.Namespace) // log.Info("SEND APPLIED: newhash:", patch.NewHash, "commithash:", patch.CommitHash, "patch", patch.Namespace)
// } // }
newpb, err := applied.HttpPostVerbose(myServer(), "applied") newpb, _, err := applied.HttpPostVerbose(myServer(), "applied")
if err != nil { if err != nil {
return err return err
} }