From 0cb9ada20d415abd803cb612b6a8309c1519e522 Mon Sep 17 00:00:00 2001 From: MUzairS15 Date: Fri, 18 Aug 2023 16:44:49 +0530 Subject: [PATCH] fix rate limiting issue Signed-off-by: MUzairS15 --- utils/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/utils.go b/utils/utils.go index 7ac28a74..1a0454cd 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -200,7 +200,7 @@ func ReadLocalFile(location string) (string, error) { // Gets the latest stable release tags from github for a given org name and repo name(in that org) in sorted order func GetLatestReleaseTagsSorted(org string, repo string) ([]string, error) { - var url string = "https://api.github.com/repos/" + org + "/" + repo + "/releases" + var url string = "https://github.com/" + org + "/" + repo + "/releases" resp, err := http.Get(url) if err != nil { return nil, ErrGettingLatestReleaseTag(err)