mirror of
https://github.com/resf/distro-tools.git
synced 2024-12-18 09:18:38 +00:00
Fix prod detection
This commit is contained in:
parent
faeda45001
commit
7c43d9b05c
@ -9,7 +9,7 @@ def get_env():
|
|||||||
|
|
||||||
|
|
||||||
def is_prod():
|
def is_prod():
|
||||||
return get_env() == "1"
|
return get_env() == "production"
|
||||||
|
|
||||||
|
|
||||||
def is_k8s():
|
def is_k8s():
|
||||||
|
Loading…
Reference in New Issue
Block a user