mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 04:31:36 +08:00
cli: download latest dependency by default
This commit is contained in:
@ -94,7 +94,7 @@ func InstallPlugin(pluginName, version string, c CommandLine) error {
|
|||||||
|
|
||||||
res, _ := s.ReadPlugin(pluginFolder, pluginName)
|
res, _ := s.ReadPlugin(pluginFolder, pluginName)
|
||||||
for _, v := range res.Dependencies.Plugins {
|
for _, v := range res.Dependencies.Plugins {
|
||||||
InstallPlugin(v.Id, version, c)
|
InstallPlugin(v.Id, "", c)
|
||||||
logger.Infof("Installed dependency: %v ✔\n", v.Id)
|
logger.Infof("Installed dependency: %v ✔\n", v.Id)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user