mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-21 06:09:39 +08:00
fix: 避免未传递prority参数导致校验未通过
This commit is contained in:
@@ -293,6 +293,7 @@ func (self *SSecurityGroupRule) ValidateUpdateData(ctx context.Context, userCred
|
||||
CIDR: self.CIDR,
|
||||
Protocol: self.Protocol,
|
||||
Ports: self.Ports,
|
||||
Priority: int(self.Priority),
|
||||
}
|
||||
|
||||
err = jsonutils.Update(input, data)
|
||||
|
||||
Reference in New Issue
Block a user