1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

builder-next: avoid double unmounting mountable

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit 9ea2cf320a)
This commit is contained in:
Tonis Tiigi 2019-08-15 17:40:33 -07:00
parent 96e086dc33
commit cad2cd71b7

View file

@ -480,6 +480,9 @@ func (m *mountable) Release() error {
}
m.mounts = nil
defer func() {
m.release = nil
}()
return m.release()
}