1
0
mirror of https://github.com/docker/docs.git synced 2026-11-05 00:14:17 +03:00

Merge pull request #1943 from nishanttotla/removing-dead-code

Deleting redundant code from volume.go
This commit is contained in:
Dongluo Chen
2016-03-11 13:44:48 -08:00

View File

@@ -48,9 +48,5 @@ func (volumes Volumes) Get(name string) *Volume {
}
}
if len(candidates) == 1 {
return candidates[0]
}
return nil
}