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:
@@ -48,9 +48,5 @@ func (volumes Volumes) Get(name string) *Volume {
|
||||
}
|
||||
}
|
||||
|
||||
if len(candidates) == 1 {
|
||||
return candidates[0]
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user