Skip to content

Commit

Permalink
Merge pull request #1 from GlobalNOC/start-time-bug
Browse files Browse the repository at this point in the history
Start time bug
  • Loading branch information
bgeels authored May 6, 2024
2 parents e8fd530 + 6fc594d commit 691abe0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion globalnoc_alertmon_agent/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ def __init__(

if( bgp_peer_id is not None and (bgp_peer_id < 0 or bgp_peer_id > 2147483647) ):
raise AlertError(f"invalid value for bgp_peer_id")


if( start_time is not None ):
start_time = int(start_time)

self._alert = {
'node_name': node_name,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="globalnoc-alertmon-agent",
version="1.0.1",
version="1.0.2",
author="GlobalNOC Systems Engineering",
author_email="[email protected]",
python_requires='>=3.8.11, <4.0.0',
Expand Down

0 comments on commit 691abe0

Please sign in to comment.