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.