Skip to content

Commit

Permalink
feature: fix env_checker.go
Browse files Browse the repository at this point in the history
  • Loading branch information
123liuziming committed Jan 20, 2023
1 parent 46deca8 commit 7cf4db8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/controller/env/env_checker.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ func GetENV() string {
_, err := client.GetDeployment(context.Background(), ISTIO_DEPLOYMENT_NAME, ISTIO_NAMESPACE)
if err != nil {
env = K8S_ENV
return env
}
env = ISTIO_ENV
return env
Expand Down

0 comments on commit 7cf4db8

Please sign in to comment.