diff --git a/management/server/sqlite_store.go b/management/server/sqlite_store.go index c201949000b..0de964f1527 100644 --- a/management/server/sqlite_store.go +++ b/management/server/sqlite_store.go @@ -485,7 +485,11 @@ func (s *SqliteStore) SaveUserLastLogin(accountID, userID string, lastLogin time // Close is noop in Sqlite func (s *SqliteStore) Close() error { - return nil + db, err := s.db.DB() + if err != nil { + return fmt.Errorf("get db: %w", err) + } + return db.Close() } // GetStoreEngine returns SqliteStoreEngine