Fix after goamz interface change

This commit is contained in:
Nick Craig-Wood 2013-06-27 19:46:31 +01:00
parent 4cda51b77a
commit 717a0d268b
1 changed files with 1 additions and 2 deletions

View File

@ -202,10 +202,9 @@ func (f *FsS3) ListDir() FsDirChan {
log.Printf("Couldn't list buckets: %s", err)
} else {
for _, bucket := range buckets {
when, _ := time.Parse(time.RFC3339, bucket.CreationDate)
out <- &FsDir{
Name: bucket.Name,
When: when,
When: bucket.CreationDate,
Bytes: -1,
Count: -1,
}