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

@@ -246,15 +246,14 @@ func (c *OperatorInitCommand) Run(args []string) int {
if c.flagAuto {
if Format(c.UI) == "table" {
c.UI.Warn(wrapAtLength("WARNING! -auto is deprecated. Please use " +
"-consul-auto instead. This will be removed in Vault 0.11 " +
"(or later)."))
"-consul-auto instead. This will be removed in Vault 0.12."))
}
c.flagConsulAuto = true
}
if c.flagCheck {
if Format(c.UI) == "table" {
c.UI.Warn(wrapAtLength("WARNING! -check is deprecated. Please use " +
"-status instead. This will be removed in Vault 0.11 (or later)."))
"-status instead. This will be removed in Vault 0.12."))
}
c.flagStatus = true
}