types/types: Correct docstring typo for (PortBinding)FromString
Signed-off-by: Euan Harris <euan.harris@docker.com>
This commit is contained in:
parent
f6ddf88cec
commit
35f505210b
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue