From 717a0d268beb3450ae446d531b60caba996914b2 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Thu, 27 Jun 2013 19:46:31 +0100 Subject: [PATCH] Fix after goamz interface change --- fs_s3.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs_s3.go b/fs_s3.go index 0bf93b921..ed84b3f9b 100644 --- a/fs_s3.go +++ b/fs_s3.go @@ -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, }