summaryrefslogtreecommitdiff
path: root/doPatch.go
diff options
context:
space:
mode:
Diffstat (limited to 'doPatch.go')
-rw-r--r--doPatch.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/doPatch.go b/doPatch.go
index 63d6323..064bd31 100644
--- a/doPatch.go
+++ b/doPatch.go
@@ -64,7 +64,7 @@ func doPatch() error {
}
if argv.Patch.Get != nil {
- psets := forgepb.NewPatchsets()
+ psets := forgepb.NewSets()
newpb, _, _ := psets.HttpPostVerbose(myServer(), "get")
newpb.PrintTable()
me.forge.Patchsets = newpb
@@ -184,7 +184,7 @@ func dumpWorkRepos() bool {
// returns bad if patches can not be applied
// logic is not great here but it was a first pass
-func dumpPatchset(pset *forgepb.Patchset) bool {
+func dumpPatchset(pset *forgepb.Set) bool {
// don't even bother to continue if we already know it's broken
if pset.State == "BROKEN" {
log.Printf("Patchset Name: %-24s Author: %s <%s> IS BAD\n", pset.Name, pset.GetGitAuthorName(), pset.GetGitAuthorEmail())