ls: Add missing content Time from listing buckets in recursive operation

Fixes #1457
This commit is contained in:
Harshavardhana
2015-11-20 15:47:05 -08:00
parent cface860c5
commit 0671f246ad
+1
View File
@@ -582,6 +582,7 @@ func (c *s3Client) listRecursiveInRoutine(contentCh chan *client.Content) {
contentCh <- &client.Content{
URL: bucketURL,
Type: os.ModeDir,
Time: bucket.Stat.CreationDate,
}
for object := range c.api.ListObjects(bucket.Stat.Name, o, true) {
if object.Err != nil {