mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
parent
f78f7d6b37
commit
77f93886da
@ -13,7 +13,12 @@ func listremoteCommand(c CommandLine) error {
|
||||
}
|
||||
|
||||
for _, i := range plugin.Plugins {
|
||||
log.Infof("id: %v version:\n", i.Id)
|
||||
pluginVersion := ""
|
||||
if len(i.Versions) > 0 {
|
||||
pluginVersion = i.Versions[0].Version
|
||||
}
|
||||
|
||||
log.Infof("id: %v version: %s\n", i.Id, pluginVersion)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user