mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 06:52:42 +08:00
CLI: Add command to migrate all datasources to use encrypted password fields (#17118)
closes: #17107
This commit is contained in:

committed by
Carl Bergquist

parent
b9181df212
commit
151b24b95f
@ -5,12 +5,13 @@ import (
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
services "github.com/grafana/grafana/pkg/cmd/grafana-cli/services"
|
||||
"github.com/grafana/grafana/pkg/cmd/grafana-cli/services"
|
||||
"github.com/grafana/grafana/pkg/cmd/grafana-cli/utils"
|
||||
)
|
||||
|
||||
var removePlugin func(pluginPath, id string) error = services.RemoveInstalledPlugin
|
||||
|
||||
func removeCommand(c CommandLine) error {
|
||||
func removeCommand(c utils.CommandLine) error {
|
||||
pluginPath := c.PluginDirectory()
|
||||
|
||||
plugin := c.Args().First()
|
||||
|
Reference in New Issue
Block a user