mirror of
https://github.com/rclone/rclone.git
synced 2025-03-04 01:00:12 +08:00
Fix after goamz interface change
This commit is contained in:
parent
4cda51b77a
commit
717a0d268b
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…
x
Reference in New Issue
Block a user