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

View file

@ -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,
} }