multi: fix make lint

Fixes new lint errors caught by the latest version.
This commit is contained in:
yyforyongyu
2022-11-18 07:01:42 +08:00
parent 39b972afe0
commit 84fd911b47
34 changed files with 36 additions and 39 deletions

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."`

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."`