-
Notifications
You must be signed in to change notification settings - Fork 13
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
fix error #10
base: master
Are you sure you want to change the base?
fix error #10
Conversation
Greetings! I'm not entirely sure that this is the correct solution. There should be some differentiation between the null value ( Can you provide a configuration snippet with which you are having trouble? |
Hi,
|
Ah yes, that's an issue with the configuration -- it expects a DN following the format
e.g.
or
but has instead obtained the DN
which doesn't follow this format, so it failed to extract the relevant values. I'll look into integrating |
Node 104 is N9K-C9372PX. :) Anyway, like what you mentioned, retrieved dn format and expected dn format were not same. In this case, however, I supposed that it should be skipped without error if those are not same between retrieved and expected. Am I misunderstanding about the logic? |
the 'None' value returned from regex.match() wasn't handled as expected in those if condition, so errors happened. As a workaround, the type of return value from regex.match() could convert as a string.