def run(self, container, report):
    container_ip = self.getContainerIPAddress(container)

    for connection in Proxy.get_connections():
      if not connection.laddr or not connection.raddr:
        continue

      if connection.raddr[0] == container_ip:
        report('Container still has existing connections: %s' % container['Id'][0:12],
               level=ReportLevels.EXTRA)
        return False

    report(container['Id'][0:12] % 'Container has no remaining connections: %s',
           level=ReportLevels.EXTRA)
    return True
dataset/ETHPy150Open DevTable/gantryd/health/networkcheck.py/IncomingConnectionCheck.run/swapped operands of `%`