File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
code-engine-cos2cos/metadata Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ func GetLastProcessTime(buckets ...*bucketOperations.Bucket) time.Time {
4848// Function to load timestamp file locally or using a object in Bucket
4949func LoadTimestamp (buckets []* bucketOperations.Bucket ) ([]byte , error ) {
5050
51- filename := os . Getenv ( "BUCKET_TIMESTAMP_FILENAME" )
51+ filename := "last_modified_time.json"
5252
5353 if len (buckets ) > 0 {
5454 bucket := buckets [0 ]
@@ -71,7 +71,7 @@ func LoadTimestamp(buckets []*bucketOperations.Bucket) ([]byte, error) {
7171
7272// Function expects a timestamp as string in format "time.RFC3339"
7373func PutLastBackupTime (timestamp string , bucket ... * bucketOperations.Bucket ) error {
74- filename := os . Getenv ( "BUCKET_TIMESTAMP_FILENAME" )
74+ filename := "last_modified_time.json"
7575
7676 if timestamp == "" {
7777 timestamp = time .Now ().Format (time .RFC3339 )
You can’t perform that action at this time.
0 commit comments