Fix store.Register()

This commit is contained in:
Solomon Hykes 2013-02-15 21:50:59 -08:00
parent 07b6bc3fc7
commit aab32e1012

View file

@ -115,6 +115,7 @@ func (store *Store) Create(layer Archive, parent *Image, pth, comment string) (*
}
func (store *Store) Register(image *Image, pth string) error {
image.store = store
// FIXME: import layer
trans, err := store.orm.Begin()
if err != nil {