mirror of https://github.com/containers/podman.git
Merge pull request #17953 from vrothberg/fix-17859
sqlite: do not `Ping()` after connecting
This commit is contained in:
commit
62321a2fce
|
|
@ -80,10 +80,6 @@ func NewSqliteState(runtime *Runtime) (_ State, defErr error) {
|
|||
|
||||
state.conn = conn
|
||||
|
||||
if err := state.conn.Ping(); err != nil {
|
||||
return nil, fmt.Errorf("cannot connect to database: %w", err)
|
||||
}
|
||||
|
||||
// Migrate schema (if necessary)
|
||||
if err := state.migrateSchemaIfNecessary(); err != nil {
|
||||
return nil, err
|
||||
|
|
|
|||
Loading…
Reference in New Issue