diff --git a/client/pluginApi.go b/client/pluginApi.go index 28221efde972b4d4482b1ca47fd64d36c4ec6afc..edf00a0cf911aac8a2b9a76ae464e3aa8bc45b51 100644 --- a/client/pluginApi.go +++ b/client/pluginApi.go @@ -6,6 +6,7 @@ import ( "io/ioutil" "log" "net/http" + "strings" ) type PluginAPI struct { @@ -98,7 +99,7 @@ func (d *PluginAPI) DownloadPlugins(names []string) { fmt.Println("Start to collect plugin dependencies...") plugins := make([]PluginInfo, 0) for _, name := range names { - plugins = append(plugins, d.collectDependencies(name)...) + plugins = append(plugins, d.collectDependencies(strings.ToLower(name))...) } fmt.Printf("Ready to download plugins, total: %d.\n", len(plugins))