From 29499661c65a0bdc12ed6b8297743ed65ff896bb Mon Sep 17 00:00:00 2001 From: Denis Gukov Date: Thu, 16 Dec 2021 03:27:59 +0500 Subject: [PATCH] fix(be): pass linter --- cli/cmd/upgrade.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/cmd/upgrade.go b/cli/cmd/upgrade.go index e8f79630..32174fbc 100644 --- a/cli/cmd/upgrade.go +++ b/cli/cmd/upgrade.go @@ -93,7 +93,7 @@ func findSemaphore() string { func findAsset(release *github.RepositoryRelease) *github.ReleaseAsset { for _, asset := range release.Assets { if *asset.Name == fmt.Sprintf("semaphore_%s_%s", runtime.GOOS, runtime.GOARCH) { - return asset + return &asset } }