Skip to content

Commit 07ff6b3

Browse files
committed
replace utc
Signed-off-by: husharp <[email protected]>
1 parent 5665343 commit 07ff6b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/executor/internal/querywatch/query_watch.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ func setWatchOption(ctx context.Context,
117117
func fromQueryWatchOptionList(ctx context.Context, sctx, newSctx sessionctx.Context, optionList []*ast.QueryWatchOption) (*resourcegroup.QuarantineRecord, error) {
118118
record := &resourcegroup.QuarantineRecord{
119119
Source: resourcegroup.ManualSource,
120-
StartTime: time.Now(),
120+
StartTime: time.Now().UTC(),
121121
EndTime: resourcegroup.NullTime,
122122
}
123123
for _, op := range optionList {

0 commit comments

Comments
 (0)