From 7e556f709fe97175c2d6cd3b27dd905961ae786e Mon Sep 17 00:00:00 2001 From: Jason Wilder Date: Fri, 19 Sep 2014 09:57:39 -0600 Subject: [PATCH] Print history in order displayed by docker It was printed in reverse by mistake. --- export.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/export.go b/export.go index 7333073..b6afa9a 100644 --- a/export.go +++ b/export.go @@ -338,7 +338,7 @@ func (e *Export) PrintHistory() { } } - for i := len(order) - 1; i >= 0; i-- { + for i := 0; i < len(order); i++ { stat, err := os.Stat(order[i].LayerTarPath) size := int64(-1) if stat != nil && err == nil {