mirror of https://github.com/containers/podman.git
Merge pull request #23978 from Luap99/golangci-lint-1.61
update golangci-lint to 1.61.0
This commit is contained in:
commit
9781a268a2
2
Makefile
2
Makefile
|
|
@ -62,7 +62,7 @@ BUILDTAGS += ${EXTRA_BUILDTAGS}
|
|||
# N/B: This value is managed by Renovate, manual changes are
|
||||
# possible, as long as they don't disturb the formatting
|
||||
# (i.e. DO NOT ADD A 'v' prefix!)
|
||||
GOLANGCI_LINT_VERSION := 1.60.3
|
||||
GOLANGCI_LINT_VERSION := 1.61.0
|
||||
PYTHON ?= $(shell command -v python3 python|head -n1)
|
||||
PKG_MANAGER ?= $(shell command -v dnf yum|head -n1)
|
||||
# ~/.local/bin is not in PATH on all systems
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ var _ = Describe("Podman networks", func() {
|
|||
bt.RestoreImagesFromCache()
|
||||
s = bt.startAPIService()
|
||||
time.Sleep(1 * time.Second)
|
||||
connText, err = bindings.NewConnection(context.Background(), bt.sock)
|
||||
connText, err = bindings.NewConnection(context.Background(), bt.sock) //nolint:fatcontext
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
_, err = network.Prune(connText, &network.PruneOptions{})
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ var _ = Describe("Podman secrets", func() {
|
|||
bt.RestoreImagesFromCache()
|
||||
s = bt.startAPIService()
|
||||
time.Sleep(1 * time.Second)
|
||||
connText, err = bindings.NewConnection(context.Background(), bt.sock)
|
||||
connText, err = bindings.NewConnection(context.Background(), bt.sock) //nolint:fatcontext
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ var _ = Describe("Podman volumes", func() {
|
|||
bt.RestoreImagesFromCache()
|
||||
s = bt.startAPIService()
|
||||
time.Sleep(1 * time.Second)
|
||||
connText, err = bindings.NewConnection(context.Background(), bt.sock)
|
||||
connText, err = bindings.NewConnection(context.Background(), bt.sock) //nolint:fatcontext
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue