Skip to content

Commit

Permalink
fix: deepsource warning
Browse files Browse the repository at this point in the history
Signed-off-by: hlts2 <[email protected]>
  • Loading branch information
hlts2 committed Jan 22, 2024
1 parent 8a379b6 commit 6c9cdbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/db/kvs/pogreb/pogreb.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func (d *db) Get(key string) ([]byte, bool, error) {
}
// If val is nil, it means that there is no value associated with key, so false is returned.
if val == nil {
return val, false, nil
return nil, false, nil
}
return val, true, nil
}
Expand Down

0 comments on commit 6c9cdbf

Please sign in to comment.