mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-10 23:11:01 +00:00
Merge pull request #1001 from seebs/updateLint
uprev golangci-lint, fix a minor lint in rbf
This commit is contained in:
commit
d3ae2614ce
2 changed files with 3 additions and 2 deletions
|
|
@ -53,7 +53,7 @@ jobs:
|
|||
name: golang
|
||||
steps:
|
||||
- checkout-plus
|
||||
- run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sudo sh -s -- -b /usr/local/bin v1.23.8
|
||||
- run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sudo sh -s -- -b /usr/local/bin v1.31.0
|
||||
- run: make golangci-lint
|
||||
go-mod-tidy:
|
||||
executor:
|
||||
|
|
|
|||
|
|
@ -96,7 +96,8 @@ func (tx *Tx) Commit() error {
|
|||
for _, path := range tx.updatedSegmentPaths {
|
||||
segment := walSegmentByPath(tx.segments, path)
|
||||
assert(segment != nil)
|
||||
tx.db.updateWALSegment(*segment)
|
||||
//lint:ignore SA5011 the assert above prevents this from being nil
|
||||
tx.db.updateWALSegment(*segment) //nolint:staticcheck
|
||||
}
|
||||
tx.db.mu.Unlock()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue