mirror of
https://github.com/containers/podman.git
synced 2025-06-20 00:51:16 +08:00
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:
@ -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) {
|
||||
|
Reference in New Issue
Block a user