同步安全组以公有云为主

This commit is contained in:
屈轩
2019-04-02 20:48:09 +08:00
committed by Yousong Zhou
parent 01398c5138
commit 8abff83afc
15 changed files with 60 additions and 73 deletions
+2 -2
View File
@@ -152,8 +152,8 @@ func (self *SRegion) GetInstances(zoneId string, ids []string, offset int, limit
return instances, int(total), nil
}
func (self *SInstance) GetSecurityGroupIds() []string {
return self.SecurityGroupIds
func (self *SInstance) GetSecurityGroupIds() ([]string, error) {
return self.SecurityGroupIds, nil
}
func (self *SInstance) GetMetadata() *jsonutils.JSONDict {