-
Notifications
You must be signed in to change notification settings - Fork 64
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
Allow managment of security-zone address books with only one element #450
base: main
Are you sure you want to change the base?
Conversation
@sboyd-m Thank you for your valuable contribution, |
Label error. Requires exactly 1 of: bug, enhancement, major, minor, patch, skip-changelog. Found: |
@rohitthakur2590 I am unable to run tests locally, and so cannot add any. I have pushed a changelog, however. |
@rohitthakur2590 Possible to get this added? What kind of test would it require? The affected component has a fix, as shown in this PR, that is used very often in the codebase (even in the same file). A bit silly that this has been untouched for over 9 months. Took me some hours debugging, but I got to the same exact solution. |
SUMMARY
Allow managment of security-zone address books with only one element
ISSUE TYPE
COMPONENT NAME
junos.junos_security_zones
ADDITIONAL INFORMATION
This is simply following a common pattern whereby single elements returned in xml are converted to arrays, such that the code can assume it is in fact an array.
Unfortunately the resulting output is sensitive, but here is the redacted error: