Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

获取App的环境,集群信息的openapi中集群顺序被重排了 #5276

Closed
3 tasks done
uucloud opened this issue Nov 7, 2024 · 0 comments · Fixed by #5277
Closed
3 tasks done

获取App的环境,集群信息的openapi中集群顺序被重排了 #5276

uucloud opened this issue Nov 7, 2024 · 0 comments · Fixed by #5277

Comments

@uucloud
Copy link
Contributor

uucloud commented Nov 7, 2024

描述bug

比如根据id顺序本来应该是

[
    {
        "env": "DEV",
        "clusters": [
            "default",
            "cluster1",
            "cluster2"
        ]
    }
]

openapi返回的内容变成了

[
    {
        "env": "DEV",
        "clusters": [
            "cluster1",
            "default",
            "cluster2"
        ]
    }
]

复现

通过如下步骤可以复现:

  1. 创建cluster1、cluster2 namespace后调用openapi查看

期望

顺序和前端一致

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant