summaryrefslogtreecommitdiff
path: root/pkg/adapter
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2019-07-22 13:08:06 -0500
committerbaude <bbaude@redhat.com>2019-07-22 15:44:04 -0500
commit0c3038d4b5479e475217f2990107f376024d5726 (patch)
treefa0936d65d105c8943f40366b0bcb3685d8c0f12 /pkg/adapter
parentab7b47ca60da11f9e24688cfe2ae3d00eb123471 (diff)
downloadpodman-0c3038d4b5479e475217f2990107f376024d5726.tar.gz
podman-0c3038d4b5479e475217f2990107f376024d5726.tar.bz2
podman-0c3038d4b5479e475217f2990107f376024d5726.zip
golangci-lint phase 4
clean up some final linter issues and add a make target for golangci-lint. in addition, begin running the tests are part of the gating tasks in cirrus ci. we cannot fully shift over to the new linter until we fix the image on the openshift side. for short term, we will use both Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/adapter')
-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 9f6ddc2e6..533a8baf5 100644
--- a/pkg/adapter/terminal_linux.go
+++ b/pkg/adapter/terminal_linux.go
@@ -16,7 +16,7 @@ import (
// 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()))