mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
lint fixes
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
(cherry picked from commit eb036ea4db
)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
This commit is contained in:
parent
01aab8baa3
commit
bdc378e781
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
func SecretReferencesFromGRPC(s []*swarmapi.SecretReference) []*swarmtypes.SecretReference {
|
||||||
refs := []*swarmtypes.SecretReference{}
|
refs := []*swarmtypes.SecretReference{}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue