We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2c9bcab + f98fea6 commit f1b3834Copy full SHA for f1b3834
1 file changed
controller/api/models.py
@@ -269,7 +269,7 @@ def _destroy_containers(self, to_destroy):
269
270
def deploy(self, user, release, initial=False):
271
"""Deploy a new release to this application"""
272
- existing = self.container_set.all()
+ existing = self.container_set.exclude(type='run')
273
new = []
274
for e in existing:
275
n = e.clone(release)
0 commit comments