diff options
| author | Jeff Carr <[email protected]> | 2025-09-04 19:17:58 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-04 19:17:58 -0500 |
| commit | 8202a75eea8ebcca23d88a5754ace45b3f7f4027 (patch) | |
| tree | 0a4b5c1ec8c5391dc1bb81281e25647c34f35511 /patchset.Get.go | |
| parent | 4cac4386f596b7b81d4c04ce54769c2e78fb4897 (diff) | |
cleaned up init.go more perfectly
Diffstat (limited to 'patchset.Get.go')
| -rw-r--r-- | patchset.Get.go | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/patchset.Get.go b/patchset.Get.go index d287898..5570b87 100644 --- a/patchset.Get.go +++ b/patchset.Get.go @@ -8,13 +8,6 @@ import ( // retrieves current patches from forge func (f *Forge) GetPatches() error { - /* - defer func() { - if r := recover(); r != nil { - log.Warn("PANIC ecovered in loadUpstream()", r) - } - }() - */ url := f.forgeURL + "GetPatchsets" log.Info("GetPatchsets() url", url) body, err := f.HttpPost(url, nil) @@ -36,15 +29,8 @@ func (f *Forge) GetPatches() error { } func (f *Forge) loadUpstreamPatchsets(psets *Patchsets) { - /* - defer func() { - if r := recover(); r != nil { - log.Warn("PANIC ecovered in loadUpstream()", r) - } - }() - */ - var foundnew bool + all := psets.All() for all.Scan() { pset := all.Next() |
