ソースを参照

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

Signed-off-by: Euan Harris <euan.harris@docker.com>
Euan Harris 7 年 前
コミット
35f505210b
1 ファイル変更1 行追加1 行削除
  1. 1 1
      libnetwork/types/types.go

+ 1 - 1
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 {