mirror of https://github.com/containers/podman.git
Call NewImageRuntimeFromStore from NewImageRuntimeFromOptions
... so that there ultimately is only one constructor. Should not change behavior. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
parent
c02b3b5e13
commit
0f0bac4ab3
|
@ -99,10 +99,7 @@ func NewImageRuntimeFromOptions(options storage.StoreOptions) (*Runtime, error)
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return &Runtime{
|
||||
store: store,
|
||||
}, nil
|
||||
return NewImageRuntimeFromStore(store), nil
|
||||
}
|
||||
|
||||
func setStore(options storage.StoreOptions) (storage.Store, error) {
|
||||
|
|
Loading…
Reference in New Issue