Explorar el Código

fix template list handler again

Alexander Belanger hace 5 años
padre
commit
ab4d5351e9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      api/server/handlers/template/list.go

+ 1 - 1
api/server/handlers/template/list.go

@@ -40,7 +40,7 @@ func (t *TemplateListHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
 		repoURL = t.Config().ServerConf.DefaultApplicationHelmRepoURL
 	}
 
-	repoIndex, err := loader.LoadRepoIndexPublic(request.RepoURL)
+	repoIndex, err := loader.LoadRepoIndexPublic(repoURL)
 
 	if err != nil {
 		t.HandleAPIError(w, r, apierrors.NewErrInternal(err))