Merge "Fix update inventory for multiple providers"
This commit is contained in:
commit
d9e8220b00
@ -308,8 +308,8 @@ class Inventory(API_BASE):
|
|||||||
allocation_ratio = Column(Float, nullable=False)
|
allocation_ratio = Column(Float, nullable=False)
|
||||||
resource_provider = orm.relationship(
|
resource_provider = orm.relationship(
|
||||||
"ResourceProvider",
|
"ResourceProvider",
|
||||||
primaryjoin=('and_(Inventory.resource_provider_id == '
|
primaryjoin=('Inventory.resource_provider_id == '
|
||||||
'ResourceProvider.id)'),
|
'ResourceProvider.id'),
|
||||||
foreign_keys=resource_provider_id)
|
foreign_keys=resource_provider_id)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user