Change deprecation warnings from 0.11 or later to 0.12. (#5176)

Also remove a deprecated parameter that we warned would be removed since
0.8.
This commit is contained in:
Jeff Mitchell
2018-08-24 12:16:37 -04:00
committed by GitHub
parent 935815d3da
commit 9e3670a614
6 changed files with 11 additions and 29 deletions

View File

@@ -198,7 +198,7 @@ func (c *DeprecatedCommand) Run(args []string) int {
func (c *DeprecatedCommand) warn() {
c.UI.Warn(wrapAtLength(fmt.Sprintf(
"WARNING! The \"vault %s\" command is deprecated. Please use \"vault %s\" "+
"instead. This command will be removed in Vault 0.11 (or later).",
"instead. This command will be removed in Vault 0.12.",
c.Old,
c.New)))
c.UI.Warn("")