Skip to content

Commit

Permalink
Merge pull request #1338 from dineshbaburam91/issue_1325
Browse files Browse the repository at this point in the history
Fixed the version check
  • Loading branch information
chidanandpujar authored Oct 16, 2024
2 parents 9cf7d1e + 0d04514 commit 006ec44
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/jnpr/junos/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -870,9 +870,8 @@ def execute(self, rpc_cmd, ignore_warning=False, **kvargs):
"JSON",
]:
ver_info = self.facts.get("version_info")
if (
ver_info
and ver_info.major[0] >= 15
if ver_info and (
ver_info.major[0] >= 15
or (ver_info.major[0] == 14 and ver_info.major[1] >= 2)
):
try:
Expand Down

0 comments on commit 006ec44

Please sign in to comment.