mirror of https://github.com/docker/docs.git
Deleting redundant code from volume.go
Signed-off-by: Nishant Totla <nishanttotla@gmail.com>
This commit is contained in:
parent
ba31ab2d4b
commit
8cbffa9492
|
@ -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