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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user