Skip to content

Commit

Permalink
Merge pull request #141 from nautobot/develop
Browse files Browse the repository at this point in the history
Release v.0.9.8
  • Loading branch information
jeffkala authored Oct 6, 2021
2 parents 5c5f051 + bf818b5 commit b5b1c42
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Default owners for all files in this repository
* @itdependsnetworks
* @itdependsnetworks @jeffkala
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## v0.9.8 - 2021-10

### Fixed

- Fixing missing and extra fields, for edge cases.
- Replace enable_golden with enable_intended in default settings.

## v0.9.7 - 2021-09

### Fixed
Expand Down
10 changes: 3 additions & 7 deletions nautobot_golden_config/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Plugin declaration for nautobot_golden_config."""

__version__ = "0.9.7"
__version__ = "0.9.8"

from nautobot.extras.plugins import PluginConfig

Expand All @@ -15,19 +15,15 @@ class GoldenConfig(PluginConfig):
author_email = "[email protected]"
description = "A plugin for managing Golden Configurations."
base_url = "golden-config"
required_settings = []
# min_version = "0"
# max_version = "100"
default_settings = {
"enable_backup": True,
"enable_golden": True,
"enable_compliance": True,
"enable_intended": True,
"enable_sotagg": True,
"per_feature_bar_width": 0.3,
"per_feature_width": 13,
"per_feature_height": 4,
"per_feature_bar_width": 0.3,
}
caching_config = {}


config = GoldenConfig # pylint:disable=invalid-name
4 changes: 2 additions & 2 deletions nautobot_golden_config/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ def save(self, *args, **kwargs):
else:
self.compliance_int = 0
self.ordered = value["ordered_compliant"]
self.missing = null_to_empty(value["missing"])
self.extra = null_to_empty(value["extra"])
self.missing = null_to_empty(value["missing"])
self.extra = null_to_empty(value["extra"])
super().save(*args, **kwargs)

@staticmethod
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "nautobot-golden-config"
version = "0.9.7"
version = "0.9.8"
description = "A plugin for configuration on nautobot"
authors = ["Network to Code, LLC", "<[email protected]>"]

Expand Down

0 comments on commit b5b1c42

Please sign in to comment.