fix crash
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-02-09 15:55:19 +11:00
parent 6dcbb9caef
commit b70dfcf5be
8 changed files with 162 additions and 73 deletions

View File

@@ -77,9 +77,6 @@ func insertHourlyBatch(ctx context.Context, dbConn *sqlx.DB, tableName string, r
if len(rows) == 0 {
return nil
}
if err := db.EnsureVmHourlyStats(ctx, dbConn); err != nil {
return err
}
tx, err := dbConn.BeginTxx(ctx, nil)
if err != nil {
return err