-
Notifications
You must be signed in to change notification settings - Fork 136
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
[Bug]: 'events ls' sub-command cannot filter on entity.type #500
Comments
Thanks for the bug report! This issue seems to have started occurring after we started using the I've reported this issue internally and will let you know when we have any updates to share 🙂 |
Great, thank you very much. |
## 📝 Description This change alters the filter header generation logic to only use `+and` when multiple attributes are being filtered on. This is a workaround to limit the impact of inconsistencies between top-level and nested filters. Related to #500 ## ✔️ How to Test ``` make testunit ``` ## 📷 Preview **If applicable, include a screenshot or code snippet of this change. Otherwise, please remove this section.**
Hello, do you have any information about when will this be released in an update? |
Hi @Sudavar,
|
@zliang-akamai I actually want to filter based on entity.type and entity.id - I did test with the latest version and still get the error:
This version however, does not throw error when filtering only based on |
Hey @Sudavar, |
After reviewing this issue with internal teams we have found it goes beyond CLI and is a API level issue, it is planned to be fixed with Linode API v5. |
CLI Version
linode-cli 5.41.3 Built off spec version 4.159.0
Command
linode-cli events ls --entity.type linode
Output
Expected Behavior
List of events based on the type (linode in this case/example). This works in version
linode-cli 5.41.2 Built off spec version 4.157.1
like a charm:Actual Behavior
API rejects saying
Cannot filter on entity.type
Steps to Reproduce
Each time the events subcommand is invoked with
--entity.type
argumentThe text was updated successfully, but these errors were encountered: