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:
parent
219582bba6
commit
742d4506bd
1 changed files with 1 additions and 5 deletions
|
@ -158,11 +158,7 @@ func (d *Driver) GetMetadata(id string) (map[string]string, error) {
|
|||
|
||||
// Cleanup unmounts the home directory.
|
||||
func (d *Driver) Cleanup() error {
|
||||
if err := d.subvolDisableQuota(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
return d.subvolDisableQuota()
|
||||
}
|
||||
|
||||
func free(p *C.char) {
|
||||
|
|
Loading…
Add table
Reference in a new issue