Skip to content

创建安全组规则之后返回的对象无法提供正确的GlobalId #1165

@qiaodeli111

Description

@qiaodeli111

What happened:
使用rule,err := secgroup.CreateRule(rule_opts)创建多个安全组规则,之后使用rule.GetGlobalId(),得到的id是相同的。

但是如果通过GetRules()得到rule对象,然后再查看它们的globalid,可以确定创建出来的rule的id都是唯一的。

Environment:
yunion.io/x/cloudmux v0.0.0-20240929084537-95ed5a2d6298

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions