multi: fix make lint

Fixes new lint errors caught by the latest version.
This commit is contained in:
yyforyongyu committed 2022-11-18 20:48:23 +08:00
1 parent 39b972afe0
commit 84fd911b47
34 files changed
+36 -39

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ import "fmt"
// Config holds etcd configuration alongside with configuration related to our higher level interface.
//
// nolint:lll
//nolint:lll
type Config struct {
Embedded bool `long:"embedded" description:"Use embedded etcd instance instead of the external one. Note: use for testing only."`
+1 -1
View File
@@ -4,7 +4,7 @@ import "time"
// Config holds postgres configuration data.
//
// nolint:lll
//nolint:lll
type Config struct {
Dsn string `long:"dsn" description:"Database connection string."`
Timeout time.Duration `long:"timeout" description:"Database connection timeout. Set to zero to disable."`