summaryrefslogtreecommitdiff
path: root/patchset.Get.go
diff options
context:
space:
mode:
Diffstat (limited to 'patchset.Get.go')
-rw-r--r--patchset.Get.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/patchset.Get.go b/patchset.Get.go
index 5780fab..e9f183d 100644
--- a/patchset.Get.go
+++ b/patchset.Get.go
@@ -66,11 +66,11 @@ func (f *Forge) loadUpstreamPatchsets(psets *Patchsets) {
// log.Info("\talready found!!!!!!!", pset.Uuid, patch.Namespace)
continue
}
- if err := f.addRandomPatch(patch); err == nil {
+ if f.AddNewPatch(patch) {
log.Info("\tnew patch added:", patch.CommitHash, found.Name, found.Comment, author)
foundnew = true
} else {
- log.Info("\tnew patch failed:", patch.CommitHash, found.Name, found.Comment, author, err)
+ log.Info("\tnew patch failed:", patch.CommitHash, found.Name, found.Comment, author)
}
}
pset.State = found.State