1
0
mirror of https://github.com/docker/cli.git synced 2026-01-16 20:22:36 +03:00

Fix store.Register()

Upstream-commit: aab32e1012bd6061ec1049adc2bbe60ed1918f54
Component: engine
This commit is contained in:
Solomon Hykes
2013-02-15 21:50:59 -08:00
parent 96bd523083
commit aa0a99f7c1

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 {