def ping(self, context=None):
        """Ping should be called periodically to update zone status."""
        diff = utils.utcnow() - self.last_zone_db_check
        if FLAGS.zone_db_check_interval >= diff.seconds:
            logging.debug(_("Updating zone cache from db."))
            self.last_zone_db_check = utils.utcnow()
            self._refresh_from_db(context)
        self._poll_zones(context)
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/scheduler/zone_manager.py/ZoneManager.ping/swapped operands of `>=`