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

Make query kind options case insensitive #1

Open
rascasoft opened this issue Dec 27, 2021 · 0 comments
Open

Make query kind options case insensitive #1

rascasoft opened this issue Dec 27, 2021 · 0 comments

Comments

@rascasoft
Copy link
Collaborator

Today there's a difference if we do:

> curl -s http://127.0.0.1:8089/query?kind=deployment | jq
{
  "size": 20,
  "count": 0,
  "page": 1,
  "result": []
}

instead of:

> curl -s http://127.0.0.1:8089/query?kind=Deployment | jq
{
  "size": 20,
  "count": 20,
  "page": 1,
  "result": [
    {
      "id": 1,
      "name": "controller",
      "namespace": "metallb-system",
      "kind": "Deployment",
      "issue": "missing_liveness_probe",
      "issue_metadata": null,
      "tool": "vessel.tools.linter",
      "current": true,
      "created_at": "2021-12-27 16:23"
    },
...
...
  ]
}

Since we're talking about urls case should not be relevant.

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

No branches or pull requests

1 participant