Correct field name "managed" in cleanup_rrset_ttl
Closed this issue · 1 comments
shakin89 commented
``Versions
NetBox Version: 3.7.4
NetBox DNS Version: 0.22.6
Python Version: 3.11
Describe the bug
in file netbox_dns/management/commands/cleanup_rrset_ttl.py there is a typo for field "managed"
It is incorrectly written maanged.
This makes the action fail with this error
django.core.exceptions.FieldError: Cannot resolve keyword 'maanged' into field. Choices are: active, address_record, bookmarks, created, custom_field_data, description, disable_ptr, id, ip_address, ipam_ip_address, ipam_ip_address_id, journal_entries, last_updated, managed, name, ptr_record, ptr_record_id, rfc2317_cname_record, rfc2317_cname_record_id, rfc2317_ptr_records, status, tagged_items, tags, tenant, tenant_id, ttl, type, value, zone, zone_id