diff --git a/pkg/cmd/grafana-cli/commands/listremote_command.go b/pkg/cmd/grafana-cli/commands/listremote_command.go index cf535a0498e..7cb3d650c55 100644 --- a/pkg/cmd/grafana-cli/commands/listremote_command.go +++ b/pkg/cmd/grafana-cli/commands/listremote_command.go @@ -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