We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c9bcab commit f98fea6Copy full SHA for f98fea6
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