From bdc378e7819a044f8b162b8e6ffea3ae44a043c1 Mon Sep 17 00:00:00 2001 From: Evan Hazlett Date: Fri, 18 Nov 2016 13:04:08 -0500 Subject: [PATCH] lint fixes Signed-off-by: Evan Hazlett (cherry picked from commit eb036ea4db86c98d5b3f51e7d0d2424faaca0343) Signed-off-by: Victor Vieux --- daemon/cluster/convert/secret.go | 1 + 1 file changed, 1 insertion(+) diff --git a/daemon/cluster/convert/secret.go b/daemon/cluster/convert/secret.go index 47b87b20d3..526646a69b 100644 --- a/daemon/cluster/convert/secret.go +++ b/daemon/cluster/convert/secret.go @@ -40,6 +40,7 @@ func SecretSpecToGRPC(s swarmtypes.SecretSpec) swarmapi.SecretSpec { } } +// SecretReferencesFromGRPC converts a slice of grpc SecretReference to SecretReference func SecretReferencesFromGRPC(s []*swarmapi.SecretReference) []*swarmtypes.SecretReference { refs := []*swarmtypes.SecretReference{}