Skip to content

Commit

Permalink
s3 backup - make checker endpoint unique
Browse files Browse the repository at this point in the history
  • Loading branch information
tbr-sparklane committed Jan 30, 2020
1 parent 9686605 commit c41742d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backups3checker.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (c BackupS3Checker) Check() (Result, error) {

c.s3Service = s3.New(session.New(&aws.Config{Region: aws.String(c.Region)}))

result := Result{Title: c.Name, Endpoint: c.BucketName, Timestamp: Timestamp()}
result := Result{Title: c.Name, Endpoint: c.Name, Timestamp: Timestamp()}
result.Times = make(Attempts, 1)

// https://github.com/awsdocs/aws-doc-sdk-examples/blob/master/go/example_code/s3/s3_list_objects.go
Expand Down

0 comments on commit c41742d

Please sign in to comment.