Skip to content

Commit 7cf4db8

Browse files
committed
feature: fix env_checker.go
1 parent 46deca8 commit 7cf4db8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/controller/env/env_checker.go

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ func GetENV() string {
2323
_, err := client.GetDeployment(context.Background(), ISTIO_DEPLOYMENT_NAME, ISTIO_NAMESPACE)
2424
if err != nil {
2525
env = K8S_ENV
26+
return env
2627
}
2728
env = ISTIO_ENV
2829
return env

0 commit comments

Comments
 (0)