Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
Signed-off-by: yandongxiao <yandongxiao@starrocks.com>
  • Loading branch information
yandongxiao committed Nov 19, 2024
1 parent b7c6a38 commit 15498d1
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions pkg/k8sutils/templates/pod/spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -384,11 +384,9 @@ func GetStarRocksDefaultRootPath() string {
}

func GetStarRocksRootPath(envVars []corev1.EnvVar) string {
if envVars != nil {
for _, env := range envVars {
if common.EqualsIgnoreCase(env.Name, "STARROCKS_ROOT") {
return env.Value
}
for _, env := range envVars {
if common.EqualsIgnoreCase(env.Name, "STARROCKS_ROOT") {
return env.Value
}
}
return "/opt/starrocks"
Expand Down

0 comments on commit 15498d1

Please sign in to comment.