From 879d8cd5270769bd834e42078e9177f778fd59af Mon Sep 17 00:00:00 2001 From: Ross McFarland Date: Sat, 23 Sep 2023 13:10:55 -0700 Subject: [PATCH] cls not self --- octodns/record/ds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: