Merge "LBaaS: Set correct nullable parameter for agent_id"

This commit is contained in:
Jenkins 2014-05-03 08:58:03 +00:00 committed by Gerrit Code Review
commit bd30a16b08

View File

@ -39,7 +39,8 @@ class PoolLoadbalancerAgentBinding(model_base.BASEV2):
primary_key=True)
agent = orm.relation(agents_db.Agent)
agent_id = sa.Column(sa.String(36), sa.ForeignKey("agents.id",
ondelete='CASCADE'))
ondelete='CASCADE'),
nullable=False)
class LbaasAgentSchedulerDbMixin(agentschedulers_db.AgentSchedulerDbMixin,