Skip to content

Commit

Permalink
fix counters for QUEUED, PENDING, FAILED statuses
Browse files Browse the repository at this point in the history
  • Loading branch information
vkuznet committed Aug 31, 2022
1 parent 4091052 commit 86e44ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbs/migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ func startMigrationRequest(req MigrationRequest) ([]MigrationReport, error) {
}
// we skip insert for migration request input since it is inserted upstream
if blk != input {
updateMigrationStatusStatus(rec, PENDING)
updateMigrationStatusMetrics(rec, PENDING)
err = rec.Insert(tx)
if err != nil {
msg = fmt.Sprintf("unable to insert MigrationRequest record %+v, error %v", rec, err)
Expand Down

0 comments on commit 86e44ff

Please sign in to comment.