Merge pull request #747 from Quasilyte/patch-1
snapshot: fix impossible conditiondocker-19.03 dockerfile/1.0.1
commit
41759a49c0
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue