Fix store.Register()
This commit is contained in:
parent
07b6bc3fc7
commit
aab32e1012
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue