From ee45d89d8ebd78f7e7a7014b6eb371f5e777ad25 Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Sun, 25 Jul 2021 19:42:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=83=A8=E5=88=86=E6=96=87?= =?UTF-8?q?=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/apps/app_cmd.go | 2 +- internal/const/build.go | 1 + web/views/@default/clusters/cluster/node/install.html | 2 +- web/views/@default/ns/clusters/cluster/node/install.html | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/internal/apps/app_cmd.go b/internal/apps/app_cmd.go index d35030a6..96764002 100644 --- a/internal/apps/app_cmd.go +++ b/internal/apps/app_cmd.go @@ -168,7 +168,7 @@ func (this *AppCmd) Run(main func()) { // 版本号 func (this *AppCmd) runVersion() { - fmt.Println(this.product+" v"+this.version, "(build: "+runtime.Version(), runtime.GOOS, runtime.GOARCH+")") + fmt.Println(this.product+" v"+this.version, "(build: "+runtime.Version(), runtime.GOOS, runtime.GOARCH, teaconst.Tag+")") } // 帮助 diff --git a/internal/const/build.go b/internal/const/build.go index eb65a29f..71c71807 100644 --- a/internal/const/build.go +++ b/internal/const/build.go @@ -5,3 +5,4 @@ package teaconst const BuildCommunity = true const BuildPlus = false +const Tag = "community" diff --git a/web/views/@default/clusters/cluster/node/install.html b/web/views/@default/clusters/cluster/node/install.html index 52a11617..9e960410 100644 --- a/web/views/@default/clusters/cluster/node/install.html +++ b/web/views/@default/clusters/cluster/node/install.html @@ -74,6 +74,6 @@ secret: "{{node.secret}}"
当前节点为已安装状态。
- [修改为未安装状态] + [重新安装]
\ No newline at end of file diff --git a/web/views/@default/ns/clusters/cluster/node/install.html b/web/views/@default/ns/clusters/cluster/node/install.html index 25c99024..99b2cdfc 100644 --- a/web/views/@default/ns/clusters/cluster/node/install.html +++ b/web/views/@default/ns/clusters/cluster/node/install.html @@ -5,7 +5,7 @@
当前节点为已安装状态。
- [修改为未安装状态] + [重新安装]

配置文件