From 607fc295e53193af31787347d2b107984934e040 Mon Sep 17 00:00:00 2001 From: Armon Dadgar Date: Mon, 1 Jun 2015 13:08:20 +0200 Subject: [PATCH] command/rekey: use same language in rekey as init --- command/rekey.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/command/rekey.go b/command/rekey.go index 8c6b066e6..e2f89d585 100644 --- a/command/rekey.go +++ b/command/rekey.go @@ -120,18 +120,18 @@ func (c *RekeyCommand) Run(args []string) int { c.Ui.Output(fmt.Sprintf( "\n"+ - "Vault rekeyed with %d keys and a key threshold of %d!\n\n"+ - "Please securely distribute the above keys. Whenever a Vault server\n"+ - "is started, it must be unsealed with %d (the threshold) of the\n"+ - "keys above (any of the keys, as long as the total number equals\n"+ - "the threshold).\n\n"+ - "Vault does not store the original master key. If you lose the keys\n"+ - "above such that you no longer have the minimum number (the\n"+ - "threshold), then your Vault will not be able to be unsealed.", + "Vault rekeyed with %d keys and a key threshold of %d. Please\n"+ + "securely distribute the above keys. When the Vault is re-sealed,\n"+ + "restarted, or stopped, you must provide at least %d of these keys\n"+ + "to unseal it again.\n\n"+ + "Vault does not store the master key. Without at least %d keys,\n"+ + "your Vault will remain permanently sealed.", shares, threshold, threshold, + threshold, )) + return 0 }