Merge pull request #17953 from vrothberg/fix-17859

sqlite: do not `Ping()` after connecting
This commit is contained in:
OpenShift Merge Robot 2023-03-28 20:44:21 +02:00 committed by GitHub
commit 62321a2fce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -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