Skip to content

Commit ee59a2c

Browse files
author
Matthew Fisher
committed
ref(rootfs): rename DEBUG to DEIS_DEBUG
1 parent 32d340f commit ee59a2c

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

rootfs/api/tests/test_pods.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ def test_run_not_fail_on_debug(self, mock_requests):
607607
do a run with DEBUG on - https://github.com/deis/controller/issues/583
608608
"""
609609
env = EnvironmentVarGuard()
610-
env['DEBUG'] = 'true'
610+
env['DEIS_DEBUG'] = 'true'
611611

612612
url = '/v2/apps'
613613
response = self.client.post(url)

rootfs/bin/boot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
set -eo pipefail
88

99
# set debug based on envvar
10-
[[ $DEBUG ]] && set -x
10+
[[ $DEIS_DEBUG ]] && set -x
1111

1212
echo system information:
1313
echo "Django Version: $(./manage.py --version)"

rootfs/scheduler/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -655,9 +655,9 @@ def _set_environment(self, data, namespace, **kwargs):
655655
})
656656

657657
# Inject debugging if workflow is in debug mode
658-
if os.environ.get("DEBUG", False):
658+
if os.environ.get("DEIS_DEBUG", False):
659659
data["env"].append({
660-
"name": "DEBUG",
660+
"name": "DEIS_DEBUG",
661661
"value": "1"
662662
})
663663

0 commit comments

Comments
 (0)