Merge latest main and fix database command lint
Integration Tests / integration-test (pull_request) Successful in 41s

This commit is contained in:
SG Command
2026-09-21 06:06:55 +02:00
14 changed files with 618 additions and 16 deletions
+3 -2
View File
@@ -160,9 +160,10 @@ func (f *FileDoc) FindDatabase(name string) (DatabaseConfig, bool, error) {
if err != nil {
return DatabaseConfig{}, false, err
}
for _, db := range dbs {
for i := range dbs {
db := &dbs[i]
if db.Name == name {
return db, true, nil
return *db, true, nil
}
}
return DatabaseConfig{}, false, nil