mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Golint fix with ro_layer.go
A small golint fix with ro_layer.go. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
parent
f909bf3590
commit
19918b88b7
1 changed files with 1 additions and 5 deletions
|
@ -142,11 +142,7 @@ func storeLayer(tx MetadataTransaction, layer *roLayer) error {
|
|||
return err
|
||||
}
|
||||
}
|
||||
if err := tx.setOS(layer.layerStore.os); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
return tx.setOS(layer.layerStore.os)
|
||||
}
|
||||
|
||||
func newVerifiedReadCloser(rc io.ReadCloser, dgst digest.Digest) (io.ReadCloser, error) {
|
||||
|
|
Loading…
Reference in a new issue