Skip to content

Commit

Permalink
update deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
sukantoraymond committed Nov 23, 2024
1 parent 270c480 commit 4c8bed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/blockchaincmd/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ func deployBlockchain(cmd *cobra.Command, args []string) error {
if avagoBinaryPath == "" {
useLatestAvalanchegoPreReleaseVersion := true
useLatestAvalanchegoReleaseVersion := false
if userProvidedAvagoVersion != "" {
if userProvidedAvagoVersion != "latest" {

Check failure on line 606 in cmd/blockchaincmd/deploy.go

View workflow job for this annotation

GitHub Actions / Lint

string `latest` has 3 occurrences, but such constant `testLatestAvagoVersion` already exists (goconst)

Check failure on line 606 in cmd/blockchaincmd/deploy.go

View workflow job for this annotation

GitHub Actions / lint / Lint

string `latest` has 3 occurrences, but such constant `testLatestAvagoVersion` already exists (goconst)
useLatestAvalanchegoReleaseVersion = false
useLatestAvalanchegoPreReleaseVersion = false
}
Expand Down

0 comments on commit 4c8bed0

Please sign in to comment.