aboutsummaryrefslogtreecommitdiff
path: root/syncapi/storage/postgres
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2021-03-03 14:35:57 +0000
committerGitHub <noreply@github.com>2021-03-03 14:35:57 +0000
commitd15836e260130f85edd5d9a104e5304f001d2681 (patch)
treea426e886cc66b3d676741010860cb794a6999b87 /syncapi/storage/postgres
parentf0139f12ca6f93b7626be369dc2a829c0326c6e0 (diff)
Increase gocyclo complexity to 25 (and remove all but 2 golint directives related to it) (#1783)
Diffstat (limited to 'syncapi/storage/postgres')
-rw-r--r--syncapi/storage/postgres/syncserver.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/syncapi/storage/postgres/syncserver.go b/syncapi/storage/postgres/syncserver.go
index a69fda4f..6f4e7749 100644
--- a/syncapi/storage/postgres/syncserver.go
+++ b/syncapi/storage/postgres/syncserver.go
@@ -36,7 +36,6 @@ type SyncServerDatasource struct {
}
// NewDatabase creates a new sync server database
-// nolint:gocyclo
func NewDatabase(dbProperties *config.DatabaseOptions) (*SyncServerDatasource, error) {
var d SyncServerDatasource
var err error