lint fixes

Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This commit is contained in:
Evan Hazlett 2016-11-18 13:04:08 -05:00
parent bebd472e40
commit eb036ea4db
No known key found for this signature in database
GPG Key ID: A519480096146526
1 changed files with 1 additions and 0 deletions

View File

@ -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{}