From 691052c3f40ff610012094f214a7dbae70aa5fa7 Mon Sep 17 00:00:00 2001 From: vishalnayak Date: Thu, 14 Apr 2016 15:34:01 +0000 Subject: [PATCH] Clarify token-revoke operation --- command/token_revoke.go | 2 +- website/source/intro/getting-started/authentication.html.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/command/token_revoke.go b/command/token_revoke.go index 38eca3560e..7833b3a9e0 100644 --- a/command/token_revoke.go +++ b/command/token_revoke.go @@ -65,7 +65,7 @@ func (c *TokenRevokeCommand) Run(args []string) int { return 2 } - c.Ui.Output("Revocation successful.") + c.Ui.Output("Token revoked if it existed") return 0 } diff --git a/website/source/intro/getting-started/authentication.html.md b/website/source/intro/getting-started/authentication.html.md index 33dce1b4f4..f01fb2e830 100644 --- a/website/source/intro/getting-started/authentication.html.md +++ b/website/source/intro/getting-started/authentication.html.md @@ -58,7 +58,7 @@ After a token is created, you can revoke it with `vault token-revoke`: ``` $ vault token-revoke c2c2fbd5-2893-b385-6fa5-30050439f698 -Revocation successful. +Token revoked if it existed ``` In a previous section, we use the `vault revoke` command. This command