Skip to content

Commit f98fea6

Browse files
committed
fix(controller): don't clone run containers on deploy
1 parent 2c9bcab commit f98fea6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

controller/api/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def _destroy_containers(self, to_destroy):
269269

270270
def deploy(self, user, release, initial=False):
271271
"""Deploy a new release to this application"""
272-
existing = self.container_set.all()
272+
existing = self.container_set.exclude(type='run')
273273
new = []
274274
for e in existing:
275275
n = e.clone(release)

0 commit comments

Comments
 (0)