chore(linter): update golangci-lint to v1.43.0

This commit is contained in:
Quentin McGaw
2021-11-07 21:26:31 +00:00
parent 6ffb94f819
commit e4c306c0ee
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ ARG ALPINE_VERSION=3.14
ARG GO_ALPINE_VERSION=3.14 ARG GO_ALPINE_VERSION=3.14
ARG GO_VERSION=1.17 ARG GO_VERSION=1.17
ARG XCPUTRANSLATE_VERSION=v0.6.0 ARG XCPUTRANSLATE_VERSION=v0.6.0
ARG GOLANGCI_LINT_VERSION=v1.42.1 ARG GOLANGCI_LINT_VERSION=v1.43.0
ARG BUILDPLATFORM=linux/amd64 ARG BUILDPLATFORM=linux/amd64
FROM --platform=${BUILDPLATFORM} qmcgaw/xcputranslate:${XCPUTRANSLATE_VERSION} AS xcputranslate FROM --platform=${BUILDPLATFORM} qmcgaw/xcputranslate:${XCPUTRANSLATE_VERSION} AS xcputranslate

View File

@@ -8,7 +8,7 @@ import (
) )
//go:embed servers.json //go:embed servers.json
var allServersEmbedFS embed.FS //nolint:gochecknoglobals var allServersEmbedFS embed.FS
func parseHardcodedServers() (allServers models.AllServers, err error) { func parseHardcodedServers() (allServers models.AllServers, err error) {
f, err := allServersEmbedFS.Open("servers.json") f, err := allServersEmbedFS.Open("servers.json")