Skip to content

Commit

Permalink
Merge pull request #136 from nautobot/develop
Browse files Browse the repository at this point in the history
Release 3.1
  • Loading branch information
jvanderaa committed Jan 4, 2024
2 parents 69afbe7 + 91359bf commit d0b7a80
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
4 changes: 4 additions & 0 deletions docs/dev/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 3.1.0

- [#131](https://github.com/nautobot/nornir-nautobot/pull/131) Updated logging output for Nornir


## 3.0.0

Expand Down
4 changes: 4 additions & 0 deletions nornir_nautobot/plugins/tasks/dispatcher/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,10 @@ def merge_config(
f"result: {push_result[0].result}, changed: {push_result.changed}",
extra={"object": obj},
)

if push_result.diff:
logger.info(f"Diff:\n```\n_{push_result.diff}\n```", extra={"object": obj})

logger.info("Config merge ended", extra={"object": obj})
return Result(
host=task.host,
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "nornir-nautobot"
version = "3.0.0"
version = "3.1.0"
description = "Nornir Nautobot"
authors = ["Network to Code, LLC <opensource@networktocode.com>"]
readme = "README.md"
Expand Down Expand Up @@ -106,8 +106,8 @@ notes = """,
"""

[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

[tool.pytest.ini_options]
testpaths = "tests/"
Expand Down

0 comments on commit d0b7a80

Please sign in to comment.