Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
qiaodeli111 opened this issue Jan 15, 2025 · 1 comment
Open
Labels
bug Something isn't working

Comments

@qiaodeli111
Copy link

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

@qiaodeli111 qiaodeli111 added the bug Something isn't working label Jan 15, 2025
@ioito
Copy link
Collaborator

ioito commented Feb 11, 2025

是哪个云,目前CreateRule是单个rule规则一个个创建的

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants