Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
rumyantseva committed Sep 1, 2023
1 parent 9c4317d commit 83a834b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/backends/sqlite/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ type NewBackendParams struct {

// NewBackend creates a new SQLite backend.
func NewBackend(params *NewBackendParams) (backends.Backend, error) {
if params.P == nil {
panic("state provider is required but not set")
}

r, err := metadata.NewRegistry(params.URI, params.L, params.P)
if err != nil {
return nil, err
Expand Down

0 comments on commit 83a834b

Please sign in to comment.