Merge "Fix ShareGroup sqlalchemy model ShareGroupTypes relation." into stable/rocky
This commit is contained in:
commit
744a157e7e
@ -1085,10 +1085,10 @@ class ShareGroup(BASE, ManilaBase):
|
|||||||
ShareGroupTypes,
|
ShareGroupTypes,
|
||||||
backref="share_groups",
|
backref="share_groups",
|
||||||
foreign_keys=share_group_type_id,
|
foreign_keys=share_group_type_id,
|
||||||
primaryjoin='and_('
|
primaryjoin="and_("
|
||||||
'ShareGroup.share_group_type_id == '
|
"ShareGroup.share_group_type_id =="
|
||||||
'ShareGroupTypes.id,'
|
"ShareGroupTypes.id,"
|
||||||
'ShareGroup.deleted == 0)')
|
"ShareGroup.deleted == 'False')")
|
||||||
_availability_zone = orm.relationship(
|
_availability_zone = orm.relationship(
|
||||||
"AvailabilityZone",
|
"AvailabilityZone",
|
||||||
lazy='immediate',
|
lazy='immediate',
|
||||||
|
Loading…
Reference in New Issue
Block a user