types/types: Correct docstring typo for (PortBinding)FromString

Signed-off-by: Euan Harris <euan.harris@docker.com>
This commit is contained in:
Euan Harris 2018-05-24 14:35:36 +01:00
parent f6ddf88cec
commit 35f505210b

View file

@ -145,7 +145,7 @@ func (p *PortBinding) String() string {
return ret
}
// FromString reads the TransportPort structure from string
// FromString reads the PortBinding structure from string
func (p *PortBinding) FromString(s string) error {
ps := strings.Split(s, "/")
if len(ps) != 3 {