Skip to content

Commit

Permalink
update DefaultSearchLogStartTimestamp type to int64
Browse files Browse the repository at this point in the history
  • Loading branch information
bruceybian committed Feb 5, 2024
1 parent 85179a9 commit 4f5cb80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tencentcloud/common/cloud_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (

const (
// DefaultSearchLogStartTimestamp sync logs start time 2023-11-07 16:41:00
DefaultSearchLogStartTimestamp = 1699346460000
DefaultSearchLogStartTimestamp int64 = 1699346460000

DefaultTopicId = "aef50d54-b17d-4782-8618-a7873203ec29"

Expand All @@ -40,7 +40,7 @@ func GetResourceCreatorAccountInfo(client *connectivity.TencentCloudClient, reso
}

request := cls.NewSearchLogRequest()
request.From = helper.IntInt64(DefaultSearchLogStartTimestamp)
request.From = helper.Int64(DefaultSearchLogStartTimestamp)
request.To = helper.Int64(CurrentTimeMillisecond())
request.TopicId = helper.String(DefaultTopicId)

Expand Down

0 comments on commit 4f5cb80

Please sign in to comment.