Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions os_ken/services/protocols/bgp/utils/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ def log(stats_resource=None, stats_source=None, log_level=DEFAULT_LOG_LEVEL,
kwargs[RESOURCE_NAME] = stats_resource.name

if TIMESTAMP not in kwargs:
kwargs[TIMESTAMP] = datetime.datetime.utcfromtimestamp(
time.time()).strftime("%Y-%m-%dT%H:%M:%S.%fZ")
kwargs[TIMESTAMP] = datetime.datetime.now(
tz=datetime.timezone.utc).strftime("%Y-%m-%dT%H:%M:%S.%fZ")

_STATS_LOGGER.log(log_level,
json.dumps(kwargs))
Expand Down
6 changes: 6 additions & 0 deletions releasenotes/source/2025.1.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
===========================
2025.1 Series Release Notes
===========================

.. release-notes::
:branch: stable/2025.1
1 change: 1 addition & 0 deletions releasenotes/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
:maxdepth: 1

unreleased
2025.1
2024.2
2024.1
2023.2
Expand Down
1 change: 0 additions & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
hacking>=6.1.0,<6.2.0 # Apache-2.0

coverage>=4.4.1 # Apache-2.0
python-subunit>=1.0.0 # Apache-2.0/BSD
oslotest>=3.2.0 # Apache-2.0
stestr>=1.0.0 # Apache-2.0
testtools>=2.2.0 # MIT
Expand Down