Chore: Consolidate on golangci-lint (#25834)

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
Arve Knudsen
2020-06-26 08:46:08 +02:00
committed by GitHub
parent 10715a1c79
commit 084542a006
13 changed files with 184 additions and 140 deletions

View File

@@ -13,7 +13,8 @@ func (cmd Command) listRemoteCommand(c utils.CommandLine) error {
return err
}
for _, plugin := range plugin.Plugins {
for _, p := range plugin.Plugins {
plugin := p
if len(plugin.Versions) > 0 {
ver := latestSupportedVersion(&plugin)
if ver != nil {