From 789fc8726acb326452f40c607f385d554c89fdd9 Mon Sep 17 00:00:00 2001 From: Daniel Kouril Date: Tue, 24 Sep 2019 16:56:02 +0200 Subject: [PATCH] Fix wording of a message --- src/modules/feeder/FeederModule.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/feeder/FeederModule.php b/src/modules/feeder/FeederModule.php index c6a3d056..19a45a1b 100644 --- a/src/modules/feeder/FeederModule.php +++ b/src/modules/feeder/FeederModule.php @@ -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_"); @@ -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; } }