Merge pull request #747 from Quasilyte/patch-1

snapshot: fix impossible condition
docker-19.03 dockerfile/1.0.1
Tõnis Tiigi 2018-12-11 10:30:13 +00:00 committed by GitHub
commit 41759a49c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ func (cs *containerdSnapshotter) release() error {
defer cs.mu.Unlock()
var err error
for _, f := range cs.releasers {
if err1 := f(); err != nil && err == nil {
if err1 := f(); err1 != nil && err == nil {
err = err1
}
}