From 4d5944cd5155a4c2ef5661c7c07d3fb389f4c4d7 Mon Sep 17 00:00:00 2001 From: Victor Vieux Date: Fri, 18 Nov 2016 15:57:11 -0800 Subject: [PATCH] fix a few golint errors Signed-off-by: Victor Vieux --- opts/port.go | 1 + 1 file changed, 1 insertion(+) diff --git a/opts/port.go b/opts/port.go index ef3f12a465..d337cb1a43 100644 --- a/opts/port.go +++ b/opts/port.go @@ -16,6 +16,7 @@ const ( portOptMode = "mode" ) +// PortOpt represents a port config in swarm mode. type PortOpt struct { ports []swarm.PortConfig }