From 0dc91150065e4219a45edb3e713f50a644510182 Mon Sep 17 00:00:00 2001 From: Evan Hazlett Date: Fri, 4 Nov 2016 14:24:44 -0400 Subject: [PATCH] SecretRequestOptions -> SecretRequestOption Signed-off-by: Evan Hazlett --- command/service/parse.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/service/parse.go b/command/service/parse.go index 0e3a229f4e..368bc6d449 100644 --- a/command/service/parse.go +++ b/command/service/parse.go @@ -12,7 +12,7 @@ import ( // parseSecrets retrieves the secrets from the requested names and converts // them to secret references to use with the spec -func parseSecrets(client client.APIClient, requestedSecrets []*types.SecretRequestOptions) ([]*swarmtypes.SecretReference, error) { +func parseSecrets(client client.APIClient, requestedSecrets []*types.SecretRequestOption) ([]*swarmtypes.SecretReference, error) { secretRefs := make(map[string]*swarmtypes.SecretReference) ctx := context.Background()