diff --git a/providers/asrockrack/firmware.go b/providers/asrockrack/firmware.go index a0dbb2c0..5ba06184 100644 --- a/providers/asrockrack/firmware.go +++ b/providers/asrockrack/firmware.go @@ -25,6 +25,10 @@ const ( // FirmwareInstall uploads and initiates firmware update for the component func (a *ASRockRack) FirmwareInstall(ctx context.Context, component, applyAt string, forceInstall bool, reader io.Reader) (jobID string, err error) { var size int64 + + mybytes, err := io.ReadAll(reader) + fmt.Printf("ReadAll reader top firmware install len:%d\n", len(mybytes)) + if file, ok := reader.(*os.File); ok { finfo, err := file.Stat() if err != nil {