Merge "LBaaS: Set correct nullable parameter for agent_id"
This commit is contained in:
commit
bd30a16b08
@ -39,7 +39,8 @@ class PoolLoadbalancerAgentBinding(model_base.BASEV2):
|
|||||||
primary_key=True)
|
primary_key=True)
|
||||||
agent = orm.relation(agents_db.Agent)
|
agent = orm.relation(agents_db.Agent)
|
||||||
agent_id = sa.Column(sa.String(36), sa.ForeignKey("agents.id",
|
agent_id = sa.Column(sa.String(36), sa.ForeignKey("agents.id",
|
||||||
ondelete='CASCADE'))
|
ondelete='CASCADE'),
|
||||||
|
nullable=False)
|
||||||
|
|
||||||
|
|
||||||
class LbaasAgentSchedulerDbMixin(agentschedulers_db.AgentSchedulerDbMixin,
|
class LbaasAgentSchedulerDbMixin(agentschedulers_db.AgentSchedulerDbMixin,
|
||||||
|
Loading…
Reference in New Issue
Block a user