Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
move initial_attributes into layer
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Monroy committed Jul 25, 2013
1 parent 5d78fb8 commit e421b30
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/models.py
Expand Up @@ -246,7 +246,6 @@ class Formation(UuidAuditedModel):
containers = fields.JSONField(default='{}', blank=True)

environment = models.CharField(max_length=64, default='_default')
initial_attributes = fields.JSONField(default='{}', blank=True)

ssh_username = models.CharField(max_length=64, default='ubuntu')
ssh_private_key = models.TextField()
Expand Down Expand Up @@ -468,7 +467,7 @@ class Layer(UuidAuditedModel):
nodes = models.PositiveSmallIntegerField(default=0)

run_list = models.CharField(max_length=512)
image = models.CharField(max_length=256, null=True, blank=True)
initial_attributes = fields.JSONField(default='{}', blank=True)

def __str__(self):
return self.id
Expand Down

0 comments on commit e421b30

Please sign in to comment.