summaryrefslogtreecommitdiff
path: root/doPatch.go
diff options
context:
space:
mode:
Diffstat (limited to 'doPatch.go')
-rw-r--r--doPatch.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/doPatch.go b/doPatch.go
index cbf1f31..a890852 100644
--- a/doPatch.go
+++ b/doPatch.go
@@ -32,10 +32,11 @@ func doPatch() error {
}
if argv.Patch.Get != nil {
- if err := me.forge.GetPatches(); err != nil {
- log.Info("Get Patchsets Failed", err)
- return err
- }
+ psets := forgepb.NewPatchsets()
+ newpb, _ := psets.HttpPostVerbose(myServer(), "get")
+ newpb.PrintTable()
+ me.forge.Patchsets = newpb
+ me.forge.SavePatchsets()
return nil
}