mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
cls not self
This commit is contained in:
@@ -48,7 +48,7 @@ class DsValue(EqualityTupleMixin, dict):
|
||||
# it is safe to assume if public_key or flags are defined then it is "old" style
|
||||
# A DS record without public_key doesn't make any sense and shouldn't have validated previously
|
||||
if "public_key" in value or "flags" in value:
|
||||
self.log.warning(
|
||||
cls.log.warning(
|
||||
'"algorithm", "flags", "public_key", and "protocol" support is DEPRECATED and will be removed in 2.0'
|
||||
)
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user