Skip to content
This repository was archived by the owner on May 6, 2020. It is now read-only.

Commit 2dce7cd

Browse files
committed
fix(settings/production): convert "false" to boolean correctly
1 parent 1b55de3 commit 2dce7cd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rootfs/api/settings/production.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,8 @@
261261
BUILDER_KEY = os.environ.get('DEIS_BUILDER_KEY', random_secret)
262262

263263
# experimental native ingress
264-
EXPERIMENTAL_NATIVE_INGRESS = bool(os.environ.get('EXPERIMENTAL_NATIVE_INGRESS', 0))
264+
EXPERIMENTAL_NATIVE_INGRESS = bool(strtobool(
265+
os.environ.get('EXPERIMENTAL_NATIVE_INGRESS', 'false')))
265266
EXPERIMENTAL_NATIVE_INGRESS_HOSTNAME = os.environ.get('EXPERIMENTAL_NATIVE_INGRESS_HOSTNAME', '')
266267

267268
# k8s image policies

0 commit comments

Comments
 (0)