diff options
author | Valentin Rothberg <vrothberg@redhat.com> | 2022-03-21 13:29:10 +0100 |
---|---|---|
committer | Valentin Rothberg <vrothberg@redhat.com> | 2022-03-22 13:04:34 +0100 |
commit | 070e401499c12d4bdc6e39eaa2498aeda9e96c82 (patch) | |
tree | 29c153a52af70a19cb927bd64b708aed19f8f4f8 | |
parent | d0e9f28f87d4fc9e7ed8f465709db89a03b9376b (diff) | |
download | podman-070e401499c12d4bdc6e39eaa2498aeda9e96c82.tar.gz podman-070e401499c12d4bdc6e39eaa2498aeda9e96c82.tar.bz2 podman-070e401499c12d4bdc6e39eaa2498aeda9e96c82.zip |
linter: enable interfacer
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
-rw-r--r-- | .golangci.yml | 1 | ||||
-rw-r--r-- | pkg/domain/infra/abi/terminal/terminal_linux.go | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/.golangci.yml b/.golangci.yml index c9c9ec2ac..db9e1fb0e 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -67,7 +67,6 @@ linters: - nilerr - wastedassign - nilnil - - interfacer linters-settings: errcheck: check-blank: false diff --git a/pkg/domain/infra/abi/terminal/terminal_linux.go b/pkg/domain/infra/abi/terminal/terminal_linux.go index 78c792d2b..153b19fdb 100644 --- a/pkg/domain/infra/abi/terminal/terminal_linux.go +++ b/pkg/domain/infra/abi/terminal/terminal_linux.go @@ -39,7 +39,7 @@ func ExecAttachCtr(ctx context.Context, ctr *libpod.Container, execConfig *libpo // StartAttachCtr starts and (if required) attaches to a container // if you change the signature of this function from os.File to io.Writer, it will trigger a downstream // error. we may need to just lint disable this one. -func StartAttachCtr(ctx context.Context, ctr *libpod.Container, stdout, stderr, stdin *os.File, detachKeys string, sigProxy bool, startContainer bool) error { //nolint-interfacer +func StartAttachCtr(ctx context.Context, ctr *libpod.Container, stdout, stderr, stdin *os.File, detachKeys string, sigProxy bool, startContainer bool) error { //nolint: interfacer resize := make(chan define.TerminalSize) haveTerminal := terminal.IsTerminal(int(os.Stdin.Fd())) |