diff --git a/providers/asrockrack/firmware.go b/providers/asrockrack/firmware.go index 00cabb07..c367b98e 100644 --- a/providers/asrockrack/firmware.go +++ b/providers/asrockrack/firmware.go @@ -37,6 +37,9 @@ func (a *ASRockRack) FirmwareInstall(ctx context.Context, component, applyAt str } size = finfo.Size() + + fmt.Printf("File size:%d\n", size) + file.Seek(0, 0) } component = strings.ToUpper(component)