Skip to content

Commit

Permalink
happy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tg123 committed Jan 2, 2024
1 parent b651940 commit cae1086
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/dockersshd/docker-sshd.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ func (s *session) exec(cmd string) error {
defer s.channel.Close()

go func() {
defer attach.CloseWrite()
defer func() { _ = attach.CloseWrite() }()
_, _ = io.Copy(attach.Conn, s.channel)
}()

Expand Down

0 comments on commit cae1086

Please sign in to comment.