mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
layer: layer_store.go: return on error
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
5fd9a8f603
commit
f7ed97a630
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue