Fix handling targets with specified db (#2218)

* Fix handling targets with specified db

Handle it in a similar way to handling targets with unspecified db.

Also refactored GraphSyncPkg method to make stuff more DRY.

* update go-mod
This commit is contained in:
smolx
2023-07-06 08:53:46 +02:00
committed by GitHub
parent d9029face3
commit 6dd7933fbe
11 changed files with 151 additions and 95 deletions

View File

@@ -48,7 +48,6 @@ linters:
disable-all: true
enable:
- bodyclose
- depguard
- dogsled
- dupl
- errorlint