You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ti...@apache.org on 2023/02/17 08:54:34 UTC

[pulsar-site] branch main updated: Fix wrong C++ client download page (#423)

This is an automated email from the ASF dual-hosted git repository.

tison pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 7f9cf936f49 Fix wrong C++ client download page (#423)
7f9cf936f49 is described below

commit 7f9cf936f4953c698bce81e5ca1eef69e47b9354
Author: Yunze Xu <xy...@163.com>
AuthorDate: Fri Feb 17 16:54:29 2023 +0800

    Fix wrong C++ client download page (#423)
---
 src/components/downloads.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/downloads.tsx b/src/components/downloads.tsx
index d6bcdbe551f..5054ab0343c 100644
--- a/src/components/downloads.tsx
+++ b/src/components/downloads.tsx
@@ -174,7 +174,7 @@ export function ArchivedPulsarDownloadTable(): JSX.Element {
 
 export function CppReleasesDownloadTable(): JSX.Element {
     const data = cppReleases
-        .map(item => item.vtag)
+        .map(item => item.tagName.substring(1))
         .filter(version => Number(version.split('.')[0]) >= 3)
         .map(version => {
             const url = `https://archive.apache.org/dist/pulsar/pulsar-client-cpp-${version}/`