Skip to content

Commit

Permalink
fix: fix aqua-proxy info
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Aug 25, 2021
1 parent 5ee68a4 commit 84eee9d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/controller/install.go
Expand Up @@ -104,7 +104,7 @@ func getPkgPath(aquaRootDir string, pkg *Package, pkgInfo *PackageInfo, assetNam
func (ctrl *Controller) installProxy(ctx context.Context) error {
pkg := &Package{
Name: "aqua-proxy",
Version: "v0.1.0",
Version: "v0.1.0-0",
Repository: "inline",
}
logE := logrus.WithFields(logrus.Fields{
Expand All @@ -125,7 +125,8 @@ func (ctrl *Controller) installProxy(ctx context.Context) error {
},
},
}
assetName := "aqua-proxy_linux_amd64.tar.gz"

assetName := "aqua-proxy_" + runtime.GOOS + "_" + runtime.GOARCH + ".tar.gz"

pkgPath := getPkgPath(ctrl.RootDir, pkg, pkgInfo, assetName)
// check if the repository exists
Expand Down

0 comments on commit 84eee9d

Please sign in to comment.