mirror of
https://github.com/docker/docs.git
synced 2026-03-27 22:38:54 +07:00
Merge pull request #18622 from runcom/return-err
layer: layer_store.go: return on error
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