diff --git a/deb/remote.go b/deb/remote.go index ac1cb151..5c365c97 100644 --- a/deb/remote.go +++ b/deb/remote.go @@ -592,7 +592,7 @@ func (repo *RemoteRepo) Decode(input []byte) error { if err != nil { if strings.HasPrefix(err.Error(), "codec.decoder: readContainerLen: Unrecognized descriptor byte: hex: 80") { // probably it is broken DB from go < 1.2, try decoding w/o time.Time - var repo11 struct { + var repo11 struct { // nolint: maligned UUID string Name string ArchiveRoot string diff --git a/linter.json b/linter.json index 37a32567..2f221d88 100644 --- a/linter.json +++ b/linter.json @@ -12,7 +12,7 @@ "staticcheck", "varcheck", "structcheck", - "aligncheck", + "maligned", "vetshadow", "goconst", "interfacer" diff --git a/utils/config.go b/utils/config.go index 39333d34..01b792ce 100644 --- a/utils/config.go +++ b/utils/config.go @@ -7,7 +7,7 @@ import ( ) // ConfigStructure is structure of main configuration -type ConfigStructure struct { // nolint: aligncheck +type ConfigStructure struct { // nolint: maligned RootDir string `json:"rootDir"` DownloadConcurrency int `json:"downloadConcurrency"` DownloadLimit int64 `json:"downloadSpeedLimit"`