mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 18:17:55 +00:00
Plugins: Consistently use plugin_version (#17171)
* Delete Sha field, rename RunningSha -> RunningSha256 * Rename version -> plugin_version
This commit is contained in:
@@ -204,7 +204,7 @@ func (c *AuthEnableCommand) Flags() *FlagSets {
|
||||
Name: "plugin-version",
|
||||
Target: &c.flagPluginVersion,
|
||||
Default: "",
|
||||
Usage: "Select the version of the plugin to enable.",
|
||||
Usage: "Select the semantic version of the plugin to enable.",
|
||||
})
|
||||
|
||||
return set
|
||||
@@ -270,7 +270,7 @@ func (c *AuthEnableCommand) Run(args []string) int {
|
||||
|
||||
authOpts := &api.EnableAuthOptions{
|
||||
Type: authType,
|
||||
Version: c.flagPluginVersion,
|
||||
PluginVersion: c.flagPluginVersion,
|
||||
Description: c.flagDescription,
|
||||
Local: c.flagLocal,
|
||||
SealWrap: c.flagSealWrap,
|
||||
|
||||
Reference in New Issue
Block a user