Commit Graph

8 Commits

Author SHA1 Message Date
Kir Kolyshkin 7c9328eb0c Remove obsoleted linter from nolint annotations
While at it, made sure there's no space between // and nolint
(as it is required for comments aimed for tools not humans).

This fixes the following golangci-lint warning:

> WARN [runner/nolint_filter] Found unknown linters in //nolint directives: golint

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2025-03-26 14:29:57 -07:00
Kir Kolyshkin 83c0c077c5 all: remove old-style +build tags
Brought to you by

	go fix ./...

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2024-09-19 17:00:48 -07:00
Daniel J Walsh a3204cf7e8
Move to golang 1.18 and later
Github.com is reporting security issues on older versions of
golang.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-04-03 15:26:54 -04:00
Miloslav Trmač f42467020f Misc. warning cleanups
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2022-10-01 02:53:06 +02:00
Miloslav Trmač 02e6083c83 Rename identifiers to avoid conflicts with built-ins
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2022-10-01 02:53:06 +02:00
Giuseppe Scrivano 87b50c455a
drivers: new function CopyRegularToFile
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2021-03-09 15:35:34 +01:00
Giuseppe Scrivano 7ce64181a0
drivers: make copyRegular public
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2021-03-09 15:35:27 +01:00
Nalin Dahyabhai 6a9fa6b66e drivers/copy: add a non-cgo fallback
The vfs driver already has logic that avoids use of the copy package
when we're not on Linux, so provide the same fallback in the copy
package for non-cgo cases.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2019-03-26 10:03:04 -04:00