Skip to content

Commit

Permalink
fix %
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Vaillancourt <[email protected]>
  • Loading branch information
timvaillancourt committed Nov 8, 2024
1 parent 6083aa5 commit a63d74c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/vt/vtorc/logic/topology_recovery_dao.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func ClearActiveFailureDetections() error {
_, err := db.ExecVTOrc(`
update topology_failure_detection set
in_active_period = 0,
end_active_period_unixtime = strftime('%%s', 'now')
end_active_period_unixtime = strftime('%s', 'now')
where
in_active_period = 1
AND start_active_period < datetime('now', printf('-%d MINUTE', ?))
Expand Down Expand Up @@ -225,7 +225,7 @@ func ClearActiveRecoveries() error {
_, err := db.ExecVTOrc(`
update topology_recovery set
in_active_period = 0,
end_active_period_unixtime = strftime('%%s', 'now')
end_active_period_unixtime = strftime('%s', 'now')
where
in_active_period = 1
AND start_active_period < datetime('now', printf('-%d SECOND', ?))
Expand Down

0 comments on commit a63d74c

Please sign in to comment.