From 861bba2c4864341d8e5b2192aa94c6f48879e232 Mon Sep 17 00:00:00 2001 From: Qu Xuan Date: Fri, 27 Dec 2019 16:22:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=81=BF=E5=85=8D=E5=9B=A0=E5=A4=AA?= =?UTF-8?q?=E5=A4=9A=E9=94=81=E5=AF=BC=E8=87=B4=E5=88=A0=E9=99=A4=E5=AE=89?= =?UTF-8?q?=E5=85=A8=E7=BB=84task=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/compute/models/secgrouprules.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/compute/models/secgrouprules.go b/pkg/compute/models/secgrouprules.go index 1400c88db4..33df586876 100644 --- a/pkg/compute/models/secgrouprules.go +++ b/pkg/compute/models/secgrouprules.go @@ -68,6 +68,10 @@ type SSecurityGroupRule struct { SecgroupID string `width:"128" charset:"ascii" create:"required"` } +func (self *SSecurityGroupRule) GetId() string { + return self.Id +} + type SecurityGroupRuleSet []SSecurityGroupRule func (v SecurityGroupRuleSet) Len() int {