mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-30 18:17:55 +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:
		| @@ -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 | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jeff Mitchell
					Jeff Mitchell