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
zabbix_action - allowing string for esc_period #66841
Conversation
The test
|
The test
|
Can someone please tell me what this CI error means? Don't get it. |
delete line 1970 from test/sanity/ignore.txt and you should be good to go. It seems that by introducing this patch, you have fixed the original reason, why was sanity test doc-default-incompatible-type skipped for this module. With your patch, this sanity test should no longer be ignored, thus shippable is complaining (new modules and PRs are required to match ansible sanity standards) Edit: reason seems to be that esc_period has implicit default |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for me with ZBX > 3.4
-label needs_triage
shipit
Thank you @D3DeFi ... as a warning: there will be some more PR coming in the next weeks as I proceed to implement the different modules ;-) |
Thank you for being so active :) |
Hi @rockaut Could you please rebase and resolve the conflicts? |
@sky-joker can you give me a hint here? I've remove the one line because of the conversation with @D3DeFi on the sanity CI checks. As I understand the conflict it tells me I'm not allowed to remove this line but then the CI fails because it wants an int which is now a str because this would fix the "bug". |
here ya go edit: nothing wrong on your part. This is very common with frequently modified resources (as is the case with ignore.txt for sanity testing). You just got caught in the middle of never ending changes to upstream. This wouldn't be a problem if your PR had been merged within a minutes of you opening it, but that is unfortunately not always possible. Sorry and thanks for understanding :) |
cc @Akasurde (due to ignore.txt == support:core). Can this get merged please? :) |
Thank you @rockaut for resolved conflicts! shipit |
SUMMARY
Fixes #51345
ISSUE TYPE
COMPONENT NAME
zabbix_action
ADDITIONAL INFORMATION
In my opinion a specific check for the value type regarding the Zabbix version isn't needed. If one doesn't read the readme and is using a string for <= 3.2 the API request would fail and an error is raised.
If I should add one please comment.