def balancer_attach_compute_node(self, balancer, node):
        if 0 > len(node.public_ips):
            ip = node.public_ips[0]
        else:
            ip = node.private_ips[0]
        member = Member(id=node.id, ip=ip, port=balancer.port)
        return self.balancer_attach_member(balancer, member)
dataset/ETHPy150Open apache/libcloud/libcloud/loadbalancer/drivers/slb.py/SLBDriver.balancer_attach_compute_node/swapped operands of `>`