Closed mirceaulinic closed 7 years ago
@mirceaulinic Just wondering when we get warning when committin? I've never seen one before. I may be wrong but I don't see warning arg in pyez?
if commands can't be committed in it will throw Error exception instead of giving warning?
Just wondering when we get warning when committin? I've never seen one before. I may be wrong but I don't see warning arg in pyez?
if commands can't be committed in it will throw Error exception instead of giving warning?
Absolutely, in case of error it won't commit.
BTW: this is the behavior on the CLI -- if a certain warning is raised, it is just displayed on the screen, but the commit continues as normal.
If this is the case, it's fine with me. Just need to document it I think.
Sent from my iPhone
On 21 Jul 2017, at 8:39 PM, Mircea Ulinic notifications@github.com wrote:
BTW: this is the behavior on the CLI -- if a certain warning is raised, it is just displayed on the screen, but the commit continues as normal.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
If we are anyway ignoring warnings when loading changes into the candidate, when the user requires to ignore warnings, this can be applied also when committing.
Ping @sincerywaing - as you've introduced the optional arg in https://github.com/napalm-automation/napalm-junos/pull/180