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

集群name不是全部大写,调用开放api报错 #66

Closed
liqiangno1 opened this issue Nov 26, 2018 · 0 comments
Closed

集群name不是全部大写,调用开放api报错 #66

liqiangno1 opened this issue Nov 26, 2018 · 0 comments
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@liqiangno1
Copy link

Describe the bug
当创建的集群name不是全部大写时,调用开放api会报{"code":500,"errors":["Failed to get k8s client list!"]}错误

To Reproduce
Steps to reproduce the behavior:

  1. 创建集群,名称为K8s-Test
  2. 调用开放接口
    http://ip:port/openapi/v1/gateway/action/get_deployment_status?deployment=...&namespace=...&cluster=K8s-Test&apikey=...
  3. 返回错误信息

Expected behavior
希望返回正确的结果

Screenshots

Desktop (please complete the following information):

  • OS: [Windows 10]
  • Browser [fiddler]
  • Version [5.0.2]

Server Version

- Dashboard version:
- Kubernetes version: 1.12.0
- Wayne version: 1.0.0
- Node.js version:
- Go version:

Additional context

@chengyumeng chengyumeng self-assigned this Nov 26, 2018
@chengyumeng chengyumeng added the kind/bug Categorizes issue or PR as related to a bug. label Nov 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

2 participants