Skip to content

Commit

Permalink
fix imports for get_plugin_config
Browse files Browse the repository at this point in the history
moved in v3.5.8, see netbox #13387
  • Loading branch information
matejv committed Aug 17, 2023
1 parent c665209 commit 75d7aa2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion netbox_powerdns_sync/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class NetBoxPowerdnsSyncConfig(PluginConfig):
author = "Matej Vadnjal"
author_email = "matej.vadnjal@arnes.si"
base_url = "powerdns-sync"
min_version = "3.5.0"
min_version = "3.5.8"
default_settings = {
"ttl_custom_field": None,
"powerdns_managed_record_comment": "netbox-powerdns-sync",
Expand Down
2 changes: 1 addition & 1 deletion netbox_powerdns_sync/signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from core.models import Job
from dcim.models import Device, Interface
from extras.plugins import get_plugin_config
from extras.plugins.utils import get_plugin_config
from ipam.models import IPAddress, FHRPGroup
from netbox.context import current_request
from virtualization.models import VirtualMachine, VMInterface
Expand Down
2 changes: 1 addition & 1 deletion netbox_powerdns_sync/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from django.contrib.contenttypes.models import ContentType
from dcim.models import Device, Interface
from extras.choices import ObjectChangeActionChoices
from extras.plugins import get_plugin_config
from extras.plugins.utils import get_plugin_config
from extras.models import ObjectChange
from ipam.models import IPAddress
from virtualization.models import VirtualMachine, VMInterface
Expand Down

0 comments on commit 75d7aa2

Please sign in to comment.