Skip to content

Commit

Permalink
chore: return nil for error on storage creation
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
luk3skyw4lker and coderabbitai[bot] committed May 6, 2024
1 parent bfd7ccc commit 0c53f45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clickhouse/clickhouse.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func New(configuration Config) (*Storage, error) {

conn, err := driver.Open(&cfg)
if err != nil {
return &Storage{}, err
return nil, err
}

ctx := driver.Context(context.Background(), driver.WithParameters(driver.Parameters{
Expand Down

0 comments on commit 0c53f45

Please sign in to comment.