From a11e251deb76542dacf12aeda255fbbc8dcf1a4d Mon Sep 17 00:00:00 2001 From: Valters Jansons Date: Thu, 22 Aug 2024 19:53:53 +0300 Subject: [PATCH] fix: Use correct Github repository archive link There was a mass-replacement for Lava v2 in commit 5864b7a. This resulted in the auto-download link being broken for Lavavisor. With this commit, the archive downloads can be successful again. --- ecosystem/lavavisor/pkg/process/fetcher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecosystem/lavavisor/pkg/process/fetcher.go b/ecosystem/lavavisor/pkg/process/fetcher.go index 1fb067777e..5fa50cd994 100644 --- a/ecosystem/lavavisor/pkg/process/fetcher.go +++ b/ecosystem/lavavisor/pkg/process/fetcher.go @@ -196,7 +196,7 @@ func (pbf *ProtocolBinaryFetcher) downloadAndBuildFromGithub(version, versionDir return utils.LavaFormatError("[Lavavisor] failed to clean up binary directory", err) } // URL might need to be updated based on the actual GitHub repository - url := fmt.Sprintf("https://github.com/lavanet/lava/v2/archive/refs/tags/v%s.zip", version) + url := fmt.Sprintf("https://github.com/lavanet/lava/archive/refs/tags/v%s.zip", version) utils.LavaFormatInfo("[Lavavisor] Fetching the source from: ", utils.Attribute{Key: "URL", Value: url}) // Send the request