[MM-27942] Request arch-specific plugin (#15436)

* request arch-specific plugin

* rename arch/architecture to platform

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
Michael Kochell
2020-10-05 13:01:33 -04:00
коммит произвёл GitHub
родитель 716b64a99c
Коммит 42f539fa57
2 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@@ -11,6 +11,7 @@ import (
"net/http"
"os"
"path/filepath"
"runtime"
"sort"
"strings"
"sync"
@@ -671,6 +672,8 @@ func (a *App) getBaseMarketplaceFilter() *model.MarketplacePluginFilter {
filter.BuildEnterpriseReady = true
}
filter.Platform = runtime.GOOS + "-" + runtime.GOARCH
return filter
}