Skip to content

Commit

Permalink
Fix wording of a message
Browse files Browse the repository at this point in the history
  • Loading branch information
kouril committed Sep 24, 2019
1 parent 3cda491 commit 789fc87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/feeder/FeederModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ private function doReportMapping($protocol_version)

// Throw Exception if input stream are empty
if ($data == "") {
throw new Exception("Feeder [reporterHost=" . $this->_host->getReporterHostname() . ",reporterIp=" . $this->_host->getReporterIp() . "] doesn't send any data!");
throw new Exception("Feeder [reporterHost=" . $this->_host->getReporterHostname() . ",reporterIp=" . $this->_host->getReporterIp() . "] hasn't sent any data!");
}

$tmpFileIn = tempnam("/dev/shm/", "pakiti3_IN_");
Expand Down Expand Up @@ -517,7 +517,7 @@ public function isHostSentNewData()
&& (($lastReportHashes[Constants::$REPORT_LAST_HEADER_HASH] == $this->_report->getHeaderHash())
&& ($lastReportHashes[Constants::$REPORT_LAST_PKGS_HASH] == $this->_report->getPkgsHash()))) {
# Data sent by the host are the same as stored one, so we do not need to store anything
Utils::log(LOG_INFO, "Feeder [host=" . $this->_host->getHostname() . "] doesn't send any new data, exiting...", __FILE__, __LINE__);
Utils::log(LOG_INFO, "Feeder [host=" . $this->_host->getHostname() . "] hasn't sent any new data, exiting...", __FILE__, __LINE__);
return false;
}
}
Expand Down

0 comments on commit 789fc87

Please sign in to comment.