From c3bba15ce11377f04e91dde2517697afe55b0590 Mon Sep 17 00:00:00 2001 From: Alexander Kukushkin Date: Wed, 23 Aug 2023 09:38:46 +0200 Subject: [PATCH] Address review feedback --- patroni/postgresql/citus.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/patroni/postgresql/citus.py b/patroni/postgresql/citus.py index 9185e344..572a24ba 100644 --- a/patroni/postgresql/citus.py +++ b/patroni/postgresql/citus.py @@ -62,9 +62,6 @@ class PgDistNode: """ return isinstance(other, PgDistNode) and self.host == other.host and self.port == other.port - def __ne__(self, other: Any) -> bool: - return not self == other - def __str__(self) -> str: return ('PgDistNode(nodeid={0},host={1},port={2},role={3})' .format(self.nodeid, self.host, self.port, self.role))