mirror of
https://github.com/helm/helm.git
synced 2026-05-04 17:22:38 -04:00
chore: delete unused var in installer.go
Signed-off-by: zyfy29 <wasuremono127@gmail.com>
This commit is contained in:
parent
934f761e08
commit
8068578266
3 changed files with 0 additions and 6 deletions
|
|
@ -28,9 +28,6 @@ import (
|
|||
// ErrMissingMetadata indicates that plugin.yaml is missing.
|
||||
var ErrMissingMetadata = errors.New("plugin metadata (plugin.yaml) missing")
|
||||
|
||||
// Debug enables verbose output.
|
||||
var Debug bool
|
||||
|
||||
// Installer provides an interface for installing helm client plugins.
|
||||
type Installer interface {
|
||||
// Install adds a plugin.
|
||||
|
|
|
|||
|
|
@ -107,8 +107,6 @@ func (o *pluginInstallOptions) newInstallerForSource() (installer.Installer, err
|
|||
}
|
||||
|
||||
func (o *pluginInstallOptions) run(out io.Writer) error {
|
||||
installer.Debug = settings.Debug
|
||||
|
||||
i, err := o.newInstallerForSource()
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
|
|||
|
|
@ -61,7 +61,6 @@ func (o *pluginUpdateOptions) complete(args []string) error {
|
|||
}
|
||||
|
||||
func (o *pluginUpdateOptions) run(out io.Writer) error {
|
||||
installer.Debug = settings.Debug
|
||||
slog.Debug("loading installed plugins", "path", settings.PluginsDirectory)
|
||||
plugins, err := plugin.LoadAll(settings.PluginsDirectory)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue