containerd/snapshots/native
Ace-Tang 7faaa64cf9 fix: miss remove temp file in createSnapshot
```
func foo() error {

defer func() {
    if err != nil {
	...
    }
}()
...
}
```
use defer func to do something when err not nil, if foo() not use
named error, `err != nil` can not catch all errors, since when err
re-defined in if condition, it is a new variable.

Signed-off-by: Ace-Tang <aceapril@126.com>
2018-12-24 23:01:56 +08:00
..
native_test.go Move testutils to pkg 2018-05-22 17:08:38 -04:00
native.go fix: miss remove temp file in createSnapshot 2018-12-24 23:01:56 +08:00