1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Golint fix up

This fix fixes a golint issue.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
Yong Tang 2018-02-23 16:40:37 +00:00
parent 219582bba6
commit 742d4506bd

View file

@ -158,11 +158,7 @@ func (d *Driver) GetMetadata(id string) (map[string]string, error) {
// Cleanup unmounts the home directory. // Cleanup unmounts the home directory.
func (d *Driver) Cleanup() error { func (d *Driver) Cleanup() error {
if err := d.subvolDisableQuota(); err != nil { return d.subvolDisableQuota()
return err
}
return nil
} }
func free(p *C.char) { func free(p *C.char) {