diff --git a/providers/asrockrack/helpers.go b/providers/asrockrack/helpers.go index bfb815d5..f92ed344 100644 --- a/providers/asrockrack/helpers.go +++ b/providers/asrockrack/helpers.go @@ -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) mystring := string(mybytes[:]) return fmt.Errorf("data: %s", mystring)