You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by zh...@apache.org on 2020/09/03 13:13:53 UTC
[pulsar] branch master updated: [Admin cli]Fixed website admin cli
link error (#7969)
This is an automated email from the ASF dual-hosted git repository.
zhaijia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new 5432e86 [Admin cli]Fixed website admin cli link error (#7969)
5432e86 is described below
commit 5432e86a4ad4686cd308fd0b7d32d028b674380a
Author: Guangning <gu...@apache.org>
AuthorDate: Thu Sep 3 21:13:31 2020 +0800
[Admin cli]Fixed website admin cli link error (#7969)
Motivation
Website admin cli link error
Modifications
Update link version
Verifying this change
Local test
---
site2/website/static/js/getCliByVersion.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/site2/website/static/js/getCliByVersion.js b/site2/website/static/js/getCliByVersion.js
index f817a91..d2b6b97 100644
--- a/site2/website/static/js/getCliByVersion.js
+++ b/site2/website/static/js/getCliByVersion.js
@@ -27,6 +27,7 @@ function getCliByVersion(){
return
}
} else {
+ version = parseInt(versions[0]) + "." + parseInt(versions[1]) + ".0"
window.location.href = "http://pulsar.apache.org/tools/pulsar-admin/" + version + "-SNAPSHOT"
return
}