mirror of https://github.com/docker/docs.git
Merge pull request #1943 from nishanttotla/removing-dead-code
Deleting redundant code from volume.go
This commit is contained in:
commit
957f81036b
|
|
@ -48,9 +48,5 @@ func (volumes Volumes) Get(name string) *Volume {
|
|||
}
|
||||
}
|
||||
|
||||
if len(candidates) == 1 {
|
||||
return candidates[0]
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue