We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0abdacf commit f8a2ac1Copy full SHA for f8a2ac1
1 file changed
api/models.py
@@ -711,7 +711,7 @@ def push(cls, push):
711
formation=formation,
712
user=user)
713
# see if we need to scale an initial web container
714
- if len(formation.layer_set.filter(id='runtime')) > 0 and \
+ if len(formation.node_set.filter(layer__id='runtime')) > 0 and \
715
len(formation.container_set.filter(type='web')) < 1:
716
# scale an initial web containers
717
formation.containers['web'] = 1
0 commit comments