mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-31 02:28:09 +00:00 
			
		
		
		
	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:
		| @@ -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{ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jeff Mitchell
					Jeff Mitchell