From 76d1497e9f59b4af547385fd06ca15d71a83a923 Mon Sep 17 00:00:00 2001 From: Olivier FAURAX Date: Thu, 16 Nov 2023 18:52:59 +0100 Subject: [PATCH] 2 rc for seek --- providers/asrockrack/helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/asrockrack/helpers.go b/providers/asrockrack/helpers.go index 1f16b847..0e9e3629 100644 --- a/providers/asrockrack/helpers.go +++ b/providers/asrockrack/helpers.go @@ -228,7 +228,7 @@ func (a *ASRockRack) uploadFirmware(ctx context.Context, endpoint string, fwRead // Before reading the file, rewind to the beginning if file, ok := fwReader.(*os.File); ok { - _ := file.Seek(0, 0) + _, _ = file.Seek(0, 0) } // setup pipe