We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68e7a1c commit c6dfbf6Copy full SHA for c6dfbf6
panos/base.py
@@ -4900,7 +4900,7 @@ def _commit(
4900
except AttributeError:
4901
if exception:
4902
raise err.PanCommitNotNeeded("Commit not needed", pan_device=self)
4903
- else:
+ elif commit_response.find("./msg/line") is not None:
4904
# By getting here, there was no "./result/job" in the commit response,
4905
# and there was no exception raised either, so capture the response message
4906
commit_response_msg = commit_response.find("./msg/line").text
@@ -4921,6 +4921,7 @@ def _commit(
4921
"messages": [commit_response_msg],
4922
}
4923
return log_collector_group_push_result
4924
+ else:
4925
return
4926
if not sync:
4927
# Don't synchronize, just return
0 commit comments