Skip to content

Commit

Permalink
change var name
Browse files Browse the repository at this point in the history
  • Loading branch information
Amogh-Bharadwaj committed Dec 5, 2023
1 parent 0e47625 commit 69621f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flow/connectors/utils/monitoring/monitoring.go
Original file line number Diff line number Diff line change
Expand Up @@ -306,14 +306,14 @@ func (c *CatalogMirrorMonitor) UpdateStartTimeForPartition(
ctx context.Context,
runUUID string,
partition *protos.QRepPartition,
specificTime *time.Time,
overrideStartTime *time.Time,
) error {
if c == nil || c.catalogConn == nil {
return nil
}
startTime := time.Now()
if specificTime != nil {
startTime = *specificTime
if overrideStartTime != nil {
startTime = *overrideStartTime
}

_, err := c.catalogConn.Exec(ctx, `UPDATE peerdb_stats.qrep_partitions SET start_time=$1
Expand Down

0 comments on commit 69621f8

Please sign in to comment.