Skip to content

Commit

Permalink
Merge pull request #140 from netdevops/docs-fixes
Browse files Browse the repository at this point in the history
Fix documentation
  • Loading branch information
jtdub authored Dec 17, 2024
2 parents d5a6507 + 4c24680 commit e8068ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/drivers.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,14 +219,14 @@ from hier_config.models import (
PerLineSubRule,
IdempotentCommandsRule,
)
from hier_config.drivers.cisco_ios import HConfigDriverCiscoIOS
from hier_config.platforms.cisco_ios.driver import HConfigDriverCiscoIOS


class ExtendedHConfigDriverCiscoIOS(HConfigDriverCiscoIOS):
@staticmethod
def _instantiate_rules():
# Start with the base rules
base_rules = super()._instantiate_rules()
base_rules = HConfigDriverCiscoIOS._instantiate_rules()

# Extend negation rules
base_rules.negate_with.append(
Expand Down

0 comments on commit e8068ae

Please sign in to comment.