Merge "Change the load method of SG rule "default_security_group"" into stable/2024.1
This commit is contained in:
commit
25dd1a488d
@ -115,7 +115,7 @@ class DefaultSecurityGroup(model_base.BASEV2, model_base.HasProjectPrimaryKey):
|
||||
primaryjoin="SecurityGroup.id==DefaultSecurityGroup.security_group_id",
|
||||
)
|
||||
security_group_rule = orm.relationship(
|
||||
SecurityGroupRule, lazy='joined',
|
||||
SecurityGroupRule, lazy='selectin',
|
||||
backref=orm.backref('default_security_group'),
|
||||
primaryjoin="foreign(SecurityGroupRule.security_group_id) == "
|
||||
"DefaultSecurityGroup.security_group_id",
|
||||
|
Loading…
Reference in New Issue
Block a user