From 26816a911a5e12b2b78c66b958030fbc18193b6f Mon Sep 17 00:00:00 2001 From: Daniel Nephin Date: Fri, 13 Jan 2017 11:26:29 -0500 Subject: [PATCH] Add integration test for stack deploy with secrets. Signed-off-by: Daniel Nephin --- secret_update.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/secret_update.go b/secret_update.go index b94e24aab0..42cdbbe176 100644 --- a/secret_update.go +++ b/secret_update.go @@ -8,8 +8,7 @@ import ( "golang.org/x/net/context" ) -// SecretUpdate updates a Secret. Currently, the only part of a secret spec -// which can be updated is Labels. +// SecretUpdate attempts to updates a Secret func (cli *Client) SecretUpdate(ctx context.Context, id string, version swarm.Version, secret swarm.SecretSpec) error { query := url.Values{} query.Set("version", strconv.FormatUint(version.Index, 10))