Skip to content

Commit

Permalink
Update verify.py
Browse files Browse the repository at this point in the history
The change according to comments and suggestions
  • Loading branch information
cherifimehdi authored May 9, 2024
1 parent 870cde5 commit 3b1c8aa
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/eigrp/verify.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,7 @@ def verify_eigrp_interfaces_timers(
max_time (`int`): Max time, default: 30
check_interval (`int`): Check interval, default: 10
Returns:
True
False
result (`bool`): Verified result
"""
assert isinstance(auto_sys, int), "auto_sys must be int"
assert isinstance(vrf, str), "vrf must be str"
Expand Down Expand Up @@ -243,7 +242,6 @@ def verify_eigrp_interfaces_timers(
)[0]
}
inter_timers[interface] = [hello_interval, hold_time]
print(inter_timers)
return set(timers_dict).issubset(inter_timers)
log.error(
f"Please, provide a valid format for auto_sys, timers_dict, vrf and/or ip"
Expand Down

0 comments on commit 3b1c8aa

Please sign in to comment.