layer: layer_store.go: return on error
Signed-off-by: Antonio Murdaca <runcom@redhat.com> Upstream-commit: f7ed97a6303787983f6f01f72afff74e7d2b0690 Component: engine
This commit is contained in:
@ -423,7 +423,7 @@ func (ls *layerStore) initMount(graphID, parent, mountLabel string, initFunc Mou
|
||||
initID := fmt.Sprintf("%s-init", graphID)
|
||||
|
||||
if err := ls.driver.Create(initID, parent, mountLabel); err != nil {
|
||||
|
||||
return "", err
|
||||
}
|
||||
p, err := ls.driver.Get(initID, "")
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user