Skip to content

Commit b3b29b0

Browse files
committed
fix(typo): fix paas typo
fix paas typo Signed-off-by: ysicing <[email protected]>
1 parent e43edac commit b3b29b0

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

common/const.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ const (
9393
DefaultAppNamespace = "quickon-app"
9494
DefaultCINamespace = "quickon-ci"
9595
DefaultQuchengName = "qucheng"
96-
DefaultZentaoPassName = "zentaopass"
96+
DefaultZentaoPaasName = "zentaopaas"
9797
DefaultCneOperatorName = "cne-operator"
9898
DefaultIngressName = "nginx-ingress-controller"
9999
DefaultKubeAPIDomain = "kubeapi.quickon.local"

common/func.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ func GetCustomScripts(path string) string {
197197
// GetReleaseName get chart release name
198198
func GetReleaseName(devops bool) string {
199199
if devops == true {
200-
return DefaultZentaoPassName
200+
return DefaultZentaoPaasName
201201
}
202202
return DefaultQuchengName
203203
}

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ require (
8484
github.com/cockroachdb/redact v1.1.5 // indirect
8585
github.com/containerd/containerd v1.7.0 // indirect
8686
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
87-
github.com/cyphar/filepath-securejoin v0.2.3 // indirect
87+
github.com/cyphar/filepath-securejoin v0.2.4 // indirect
8888
github.com/davecgh/go-spew v1.1.1 // indirect
8989
github.com/daviddengcn/go-colortext v1.0.0 // indirect
9090
github.com/docker/cli v23.0.5+incompatible // indirect

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,8 @@ github.com/creack/pty v1.1.18 h1:n56/Zwd5o6whRC5PMGretI4IdRLlmBXYNjScPaBgsbY=
162162
github.com/creack/pty v1.1.18/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4=
163163
github.com/cyphar/filepath-securejoin v0.2.3 h1:YX6ebbZCZP7VkM3scTTokDgBL2TY741X51MTk3ycuNI=
164164
github.com/cyphar/filepath-securejoin v0.2.3/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4=
165+
github.com/cyphar/filepath-securejoin v0.2.4 h1:Ugdm7cg7i6ZK6x3xDF1oEu1nfkyfH53EtKeQYTC3kyg=
166+
github.com/cyphar/filepath-securejoin v0.2.4/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4=
165167
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
166168
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
167169
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=

pkg/qucheng/upgrade/upgrade.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ func QuchengVersion(devops bool) (Version, error) {
172172
}
173173
name := common.DefaultQuchengName
174174
if devops {
175-
name = common.DefaultZentaoPassName
175+
name = common.DefaultZentaoPaasName
176176
}
177177
if apiVersion, err := opt.Fetch(common.GetDefaultSystemNamespace(true), name); err == nil {
178178
v.Components = append(v.Components, apiVersion)

0 commit comments

Comments
 (0)