Skip to content

Commit

Permalink
fix: mdbclient rename
Browse files Browse the repository at this point in the history
  • Loading branch information
pshapovalov committed Apr 13, 2024
1 parent 14911c9 commit 85387ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/mdbclient/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type client struct {
}

// NewClient initializes a new DB driver using the provided database configuration.
func NewClient(host string) *redis.Client {
func NewDriver(host string) *redis.Client {

Check failure on line 15 in pkg/mdbclient/driver.go

View workflow job for this annotation

GitHub Actions / lint

undefined: redis (typecheck)
client := redis.NewClient(&redis.Options{

Check failure on line 16 in pkg/mdbclient/driver.go

View workflow job for this annotation

GitHub Actions / lint

undefined: redis (typecheck)
Addr: host,
Password: "", // no password set
Expand Down

0 comments on commit 85387ec

Please sign in to comment.