浏览代码

feat(cli): disable dependecy downloads until needed

bergquist 9 年之前
父节点
当前提交
788aafff3c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      pkg/cmd/grafana-cli/commands/install_command.go

+ 2 - 2
pkg/cmd/grafana-cli/commands/install_command.go

@@ -85,13 +85,13 @@ func InstallPlugin(pluginName, version string, c CommandLine) error {
 
 	log.Infof("Installed %v successfully ✔\n", plugin.Id)
 
+	/* Enable once we need support for downloading depedencies
 	res, _ := s.ReadPlugin(pluginFolder, pluginName)
-
 	for _, v := range res.Dependency.Plugins {
 		InstallPlugin(v.Id, version, c)
 		log.Infof("Installed dependency: %v ✔\n", v.Id)
 	}
-
+	*/
 	return err
 }