commit | 93c18c73a349fffd067168ab92056d29a67d76a7 | [log] [tgz] |
---|---|---|
author | Sebastiaan van Stijn <thaJeztah@users.noreply.github.com> | Fri Aug 16 20:30:09 2019 +0200 |
committer | GitHub <noreply@github.com> | Fri Aug 16 20:30:09 2019 +0200 |
tree | b9acf2f9dfb208d41ac79ebdbed47d00d3424586 | |
parent | 96e086dc332d2532514d466605cdbfc5fbb042ce [diff] | |
parent | cad2cd71b785c27789a55edc9a6450fc4503b01b [diff] |
Merge pull request #327 from tonistiigi/double-unmount-1903 [19.03] builder-next: avoid double unmounting mountable
diff --git a/builder/builder-next/adapters/snapshot/snapshot.go b/builder/builder-next/adapters/snapshot/snapshot.go index 3a722e5..1e5402d 100644 --- a/builder/builder-next/adapters/snapshot/snapshot.go +++ b/builder/builder-next/adapters/snapshot/snapshot.go
@@ -480,6 +480,9 @@ } m.mounts = nil + defer func() { + m.release = nil + }() return m.release() }