mirror of https://github.com/docker/docs.git
Fix store.Register()
This commit is contained in:
parent
07b6bc3fc7
commit
aab32e1012
|
@ -115,6 +115,7 @@ func (store *Store) Create(layer Archive, parent *Image, pth, comment string) (*
|
||||||
}
|
}
|
||||||
|
|
||||||
func (store *Store) Register(image *Image, pth string) error {
|
func (store *Store) Register(image *Image, pth string) error {
|
||||||
|
image.store = store
|
||||||
// FIXME: import layer
|
// FIXME: import layer
|
||||||
trans, err := store.orm.Begin()
|
trans, err := store.orm.Begin()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue