add break

Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
Jess Frazelle 2016-12-19 21:49:02 -08:00
parent bc1a7a33a4
commit 0aa024e897
No known key found for this signature in database
GPG key ID: 18F3685C0022BFF3

View file

@ -269,6 +269,7 @@ func createStaticIndex(r *registry.Registry, staticDir string) error {
return fmt.Errorf("unmarshal v1compatibility failed: %v", err)
}
createdDate = comp.Created.Format(time.RFC1123)
break
}
}