From 1d6445dc99a5f617fa7b1b6c54f499838941b8de Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Thu, 16 Jan 2020 12:48:09 +0100 Subject: [PATCH] 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 --- opts/port.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opts/port.go b/opts/port.go index a4a91b1d5d..f65367168d 100644 --- a/opts/port.go +++ b/opts/port.go @@ -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),