Skip to content

Commit 5a9a5cb

Browse files
committed
ref(deploy): rename DEPLOY_BATCHES to DEIS_DEPLOY_BATCHES
Closes #683
1 parent 6417a6c commit 5a9a5cb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

rootfs/api/models/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ def deploy(self, release):
342342
self.save()
343343

344344
# see if the app config has deploy batch preference, otherwise use global
345-
batches = release.config.values.get('DEPLOY_BATCHES', settings.DEPLOY_BATCHES)
345+
batches = release.config.values.get('DEIS_DEPLOY_BATCHES', settings.DEIS_DEPLOY_BATCHES)
346346

347347
# deploy application to k8s. Also handles initial scaling
348348
deploys = {}

rootfs/deis/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@
273273
# Defaults to None, the default is to deploy to as many nodes as
274274
# the application has been instructed to run on
275275
# Can also be overwritten on per app basis if desired
276-
DEPLOY_BATCHES = os.environ.get('DEPLOY_BATCHES', None)
276+
DEIS_DEPLOY_BATCHES = os.environ.get('DEIS_DEPLOY_BATCHES', None)
277277

278278
# How long k8s waits for a pod to finish work after a SIGTERM before sending SIGKILL
279279
KUBERNETES_POD_TERMINATION_GRACE_PERIOD_SECONDS = int(os.environ.get('KUBERNETES_POD_TERMINATION_GRACE_PERIOD_SECONDS', 30)) # noqa

0 commit comments

Comments
 (0)