forked from TrueCloudLab/rclone
Fix after goamz interface change
This commit is contained in:
parent
4cda51b77a
commit
717a0d268b
1 changed files with 1 additions and 2 deletions
3
fs_s3.go
3
fs_s3.go
|
@ -202,10 +202,9 @@ func (f *FsS3) ListDir() FsDirChan {
|
||||||
log.Printf("Couldn't list buckets: %s", err)
|
log.Printf("Couldn't list buckets: %s", err)
|
||||||
} else {
|
} else {
|
||||||
for _, bucket := range buckets {
|
for _, bucket := range buckets {
|
||||||
when, _ := time.Parse(time.RFC3339, bucket.CreationDate)
|
|
||||||
out <- &FsDir{
|
out <- &FsDir{
|
||||||
Name: bucket.Name,
|
Name: bucket.Name,
|
||||||
When: when,
|
When: bucket.CreationDate,
|
||||||
Bytes: -1,
|
Bytes: -1,
|
||||||
Count: -1,
|
Count: -1,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue