From 35f505210b2b40d3cb65f290a5b0859ed827a0e7 Mon Sep 17 00:00:00 2001 From: Euan Harris Date: Thu, 24 May 2018 14:35:36 +0100 Subject: [PATCH] types/types: Correct docstring typo for (PortBinding)FromString Signed-off-by: Euan Harris --- libnetwork/types/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnetwork/types/types.go b/libnetwork/types/types.go index cb18f054c5..f851d6fbb7 100644 --- a/libnetwork/types/types.go +++ b/libnetwork/types/types.go @@ -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 {