Skip to content

Commit

Permalink
chore: ignore redefines-builtin-id for insert
Browse files Browse the repository at this point in the history
Signed-off-by: Fabian Kramm <[email protected]>
  • Loading branch information
FabianKramm committed Nov 12, 2024
1 parent a9b55f7 commit 45f8df6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/drivers/generic/generic.go
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ func (d *Generic) IsFill(key string) bool {
return strings.HasPrefix(key, "gap-")
}

func (d *Generic) Insert(ctx context.Context, key string, create, delete bool, createRevision, previousRevision int64, ttl int64, value, prevValue []byte) (id int64, err error) {
func (d *Generic) Insert(ctx context.Context, key string, create, delete bool, createRevision, previousRevision int64, ttl int64, value, prevValue []byte) (id int64, err error) { // nolint:revive
if d.TranslateErr != nil {
defer func() {
if err != nil {
Expand Down

0 comments on commit 45f8df6

Please sign in to comment.