Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
ofaurax committed Nov 16, 2023
1 parent 32380ce commit 36b5925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/asrockrack/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Check failure on line 231 in providers/asrockrack/helpers.go

View workflow job for this annotation

GitHub Actions / lint

assignment mismatch: 1 variable but file.Seek returns 2 values (typecheck)

Check failure on line 231 in providers/asrockrack/helpers.go

View workflow job for this annotation

GitHub Actions / test

no new variables on left side of :=

Check failure on line 231 in providers/asrockrack/helpers.go

View workflow job for this annotation

GitHub Actions / test

assignment mismatch: 1 variable but file.Seek returns 2 values

Check failure on line 231 in providers/asrockrack/helpers.go

View workflow job for this annotation

GitHub Actions / lint

assignment mismatch: 1 variable but file.Seek returns 2 values (typecheck)

Check failure on line 231 in providers/asrockrack/helpers.go

View workflow job for this annotation

GitHub Actions / test

no new variables on left side of :=

Check failure on line 231 in providers/asrockrack/helpers.go

View workflow job for this annotation

GitHub Actions / test

assignment mismatch: 1 variable but file.Seek returns 2 values
}

// setup pipe
Expand Down

0 comments on commit 36b5925

Please sign in to comment.