summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/abi/terminal/terminal_linux.go
diff options
context:
space:
mode:
authorValentin Rothberg <vrothberg@redhat.com>2022-03-21 13:29:10 +0100
committerValentin Rothberg <vrothberg@redhat.com>2022-03-22 13:04:34 +0100
commit070e401499c12d4bdc6e39eaa2498aeda9e96c82 (patch)
tree29c153a52af70a19cb927bd64b708aed19f8f4f8 /pkg/domain/infra/abi/terminal/terminal_linux.go
parentd0e9f28f87d4fc9e7ed8f465709db89a03b9376b (diff)
downloadpodman-070e401499c12d4bdc6e39eaa2498aeda9e96c82.tar.gz
podman-070e401499c12d4bdc6e39eaa2498aeda9e96c82.tar.bz2
podman-070e401499c12d4bdc6e39eaa2498aeda9e96c82.zip
linter: enable interfacer
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
Diffstat (limited to 'pkg/domain/infra/abi/terminal/terminal_linux.go')
-rw-r--r--pkg/domain/infra/abi/terminal/terminal_linux.go2
1 files changed, 1 insertions, 1 deletions
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()))