Address review feedback

This commit is contained in:
Alexander Kukushkin
2023-08-23 09:38:46 +02:00
parent d5063bd3d7
commit c3bba15ce1
-3
View File
@@ -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))