diff --git a/octodns/record/ds.py b/octodns/record/ds.py index 5760fcf..fe25803 100644 --- a/octodns/record/ds.py +++ b/octodns/record/ds.py @@ -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: