From 9d3c317c9559e417e0759b654c0510346f1a36b5 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 --- opts/secret.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/opts/secret.go b/opts/secret.go index 9475d9f506..b77a33f685 100644 --- a/opts/secret.go +++ b/opts/secret.go @@ -13,7 +13,7 @@ import ( // SecretOpt is a Value type for parsing secrets type SecretOpt struct { - values []*types.SecretRequestOptions + values []*types.SecretRequestOption } // Set a new secret value @@ -24,7 +24,7 @@ func (o *SecretOpt) Set(value string) error { return err } - options := &types.SecretRequestOptions{ + options := &types.SecretRequestOption{ Source: "", Target: "", UID: "0", @@ -102,6 +102,6 @@ func (o *SecretOpt) String() string { } // Value returns the secret requests -func (o *SecretOpt) Value() []*types.SecretRequestOptions { +func (o *SecretOpt) Value() []*types.SecretRequestOption { return o.values }