summaryrefslogtreecommitdiff
path: root/pkg/adapter/terminal_linux.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-07-23 10:21:41 +0200
committerGitHub <noreply@github.com>2019-07-23 10:21:41 +0200
commit26749204d5fcd333706bef187b75cd3c6b39b835 (patch)
tree1fe72a798eef9d803e7714ea877304f1568171bd /pkg/adapter/terminal_linux.go
parenta12a2312ac5c6c485eaa1d45e4b7e29d6cc4a9ff (diff)
parent0c3038d4b5479e475217f2990107f376024d5726 (diff)
downloadpodman-26749204d5fcd333706bef187b75cd3c6b39b835.tar.gz
podman-26749204d5fcd333706bef187b75cd3c6b39b835.tar.bz2
podman-26749204d5fcd333706bef187b75cd3c6b39b835.zip
Merge pull request #3621 from baude/golangcilint4
golangci-lint phase 4
Diffstat (limited to 'pkg/adapter/terminal_linux.go')
-rw-r--r--pkg/adapter/terminal_linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/adapter/terminal_linux.go b/pkg/adapter/terminal_linux.go
index 6e63dd87b..33ca0833b 100644
--- a/pkg/adapter/terminal_linux.go
+++ b/pkg/adapter/terminal_linux.go
@@ -35,7 +35,7 @@ func ExecAttachCtr(ctx context.Context, ctr *libpod.Container, tty, privileged b
// 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, recursive bool) error {
+func StartAttachCtr(ctx context.Context, ctr *libpod.Container, stdout, stderr, stdin *os.File, detachKeys string, sigProxy bool, startContainer bool, recursive bool) error { //nolint-interfacer
resize := make(chan remotecommand.TerminalSize)
haveTerminal := terminal.IsTerminal(int(os.Stdin.Fd()))