mirror of
https://github.com/apricote/hcloud-upload-image.git
synced 2026-01-13 21:31:03 +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
|
|
@ -327,7 +327,7 @@ func (s *Client) Upload(ctx context.Context, options UploadOptions) (*hcloud.Ima
|
|||
if err != nil {
|
||||
return nil, fmt.Errorf("failed to ssh into temporary server: %w", err)
|
||||
}
|
||||
defer sshClient.Close()
|
||||
defer func() { _ = sshClient.Close() }()
|
||||
|
||||
// 6. SSH On Server: Download Image, Decompress, Write to Root Disk
|
||||
logger.InfoContext(ctx, "# Step 6: Downloading image and writing to disk")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue