From 36b59252f1603d629344c1329a350b68e78adffb Mon Sep 17 00:00:00 2001 From: Olivier FAURAX Date: Thu, 16 Nov 2023 18:30:37 +0100 Subject: [PATCH] linter --- 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 1c8b14a6..1f16b847 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