Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
ofaurax committed Nov 8, 2023
1 parent a49547e commit 0aa91c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/asrockrack/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ func (a *ASRockRack) uploadFirmware(ctx context.Context, endpoint string, fwRead
"Content-Type": form.FormDataContentType(),
}

mybytes, err := ReadAll(pipeReader)
mybytes, err := io.ReadAll(pipeReader)

Check failure on line 263 in providers/asrockrack/helpers.go

View workflow job for this annotation

GitHub Actions / lint

ineffectual assignment to err (ineffassign)
mystring := string(mybytes[:])
return fmt.Errorf("data: %s", mystring)

Expand Down

0 comments on commit 0aa91c2

Please sign in to comment.