mirror of https://github.com/docker/cli.git
opts: fix formatting of comments
Comments should have a leading space unless the comment is for special purposes (go:generate, nolint:) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
e7f720b0a6
commit
1d6445dc99
|
@ -160,7 +160,7 @@ func ConvertPortToPortConfig(
|
|||
|
||||
for i := startHostPort; i <= endHostPort; i++ {
|
||||
ports = append(ports, swarm.PortConfig{
|
||||
//TODO Name: ?
|
||||
// TODO Name: ?
|
||||
Protocol: swarm.PortConfigProtocol(strings.ToLower(port.Proto())),
|
||||
TargetPort: uint32(port.Int()),
|
||||
PublishedPort: uint32(i),
|
||||
|
|
Loading…
Reference in New Issue