mirror of
https://github.com/apricote/hcloud-upload-image.git
synced 2026-01-13 13:21:01 +00:00
chore(deps): update dependency golangci/golangci-lint to v2 (#66)
This commit is contained in:
parent
cef79b943c
commit
4829843c2e
3 changed files with 6 additions and 6 deletions
|
|
@ -12,7 +12,7 @@ func Run(client *ssh.Client, cmd string, stdin io.Reader) ([]byte, error) {
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
defer sess.Close()
|
||||
defer func() { _ = sess.Close() }()
|
||||
|
||||
if stdin != nil {
|
||||
sess.Stdin = stdin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue