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

@@ -282,7 +282,7 @@ func (c *OperatorRekeyCommand) Run(args []string) int {
if Format(c.UI) == "table" {
c.UI.Warn(wrapAtLength(
"WARNING! The -delete flag is deprecated. Please use -backup-delete " +
"instead. This flag will be removed in Vault 0.11 (or later)."))
"instead. This flag will be removed in Vault 0.12."))
}
c.flagBackupDelete = true
}
@@ -290,7 +290,7 @@ func (c *OperatorRekeyCommand) Run(args []string) int {
if Format(c.UI) == "table" {
c.UI.Warn(wrapAtLength(
"WARNING! The -retrieve flag is deprecated. Please use -backup-retrieve " +
"instead. This flag will be removed in Vault 0.11 (or later)."))
"instead. This flag will be removed in Vault 0.12."))
}
c.flagBackupRetrieve = true
}
@@ -298,7 +298,7 @@ func (c *OperatorRekeyCommand) Run(args []string) int {
if Format(c.UI) == "table" {
c.UI.Warn(wrapAtLength(
"WARNING! The -recovery-key flag is deprecated. Please use -target=recovery " +
"instead. This flag will be removed in Vault 0.11 (or later)."))
"instead. This flag will be removed in Vault 0.12."))
}
c.flagTarget = "recovery"
}