Make it clear that the plugin install prompt is a question (#1355)
This commit is contained in:
parent
43fec2d599
commit
4bc786485c
|
|
@ -171,7 +171,7 @@ func (h *HelmfileInit) CheckHelmPlugins() error {
|
|||
return err
|
||||
}
|
||||
|
||||
err = h.WhetherContinue(fmt.Sprintf("The helm plugin %s is not installed, do you need to install it", p.name))
|
||||
err = h.WhetherContinue(fmt.Sprintf("The helm plugin %q is not installed, do you want to install it?", p.name))
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
@ -184,7 +184,7 @@ func (h *HelmfileInit) CheckHelmPlugins() error {
|
|||
}
|
||||
requiredVersion, _ := semver.NewVersion(p.version)
|
||||
if pluginVersion.LessThan(requiredVersion) {
|
||||
err = h.WhetherContinue(fmt.Sprintf("The helm plugin %s version is too low, do you need to update it", p.name))
|
||||
err = h.WhetherContinue(fmt.Sprintf("The helm plugin %q version is too low, do you want to update it?", p.name))
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue