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

@@ -70,7 +70,7 @@ func (c *AuthCommand) Run(args []string) int {
c.UI.Warn(wrapAtLength(
"WARNING! The -methods flag is deprecated. Please use "+
"\"vault auth list\" instead. This flag will be removed in "+
"Vault 0.11 (or later).") + "\n")
"Vault 0.12.") + "\n")
}
return (&AuthListCommand{
BaseCommand: &BaseCommand{
@@ -83,7 +83,7 @@ func (c *AuthCommand) Run(args []string) int {
c.UI.Warn(wrapAtLength(
"WARNING! The -method-help flag is deprecated. Please use "+
"\"vault auth help\" instead. This flag will be removed in "+
"Vault 0.11 (or later).") + "\n")
"Vault 0.12.") + "\n")
}
// Parse the args to pull out the method, suppressing any errors because
// there could be other flags that we don't care about.
@@ -110,7 +110,7 @@ func (c *AuthCommand) Run(args []string) int {
"WARNING! The \"vault auth ARG\" command is deprecated and is now a "+
"subcommand for interacting with auth methods. To authenticate "+
"locally to Vault, use \"vault login\" instead. This backwards "+
"compatibility will be removed in Vault 0.11 (or later).") + "\n")
"compatibility will be removed in Vault 0.12.") + "\n")
}
return (&LoginCommand{
BaseCommand: &BaseCommand{