Fixed redundant else

Signed-off-by: Anes Hasicic <anes.hasicic@gmail.com>
Upstream-commit: 3d7b9e8f30a48bc2e929d8ac3d82f70778e99b59
Component: engine
This commit is contained in:
Anes Hasicic
2015-03-25 23:44:32 +01:00
parent a2c5155c6a
commit d222ef85ca
@@ -273,10 +273,10 @@ func (d *Driver) Get(id string, mountLabel string) (string, error) {
if mount != nil {
mount.count++
return mount.path, nil
} else {
mount = &ActiveMount{count: 1}
}
mount = &ActiveMount{count: 1}
dir := d.dir(id)
if _, err := os.Stat(dir); err != nil {
return "", err