You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spot.apache.org by na...@apache.org on 2017/09/26 22:41:11 UTC

[08/50] [abbrv] incubator-spot git commit: SPOT-183: Updated SuspiciousConnects.scala error message when incorrect analysis type is passed.

SPOT-183: Updated SuspiciousConnects.scala error message when incorrect
analysis type is passed.


Project: http://git-wip-us.apache.org/repos/asf/incubator-spot/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-spot/commit/781ccf77
Tree: http://git-wip-us.apache.org/repos/asf/incubator-spot/tree/781ccf77
Diff: http://git-wip-us.apache.org/repos/asf/incubator-spot/diff/781ccf77

Branch: refs/heads/SPOT-181_ODM
Commit: 781ccf7770676e9601f4f5119f13afbfbd4dfe75
Parents: 3cab5dd
Author: Ricardo Barona <ri...@intel.com>
Authored: Thu Jul 27 12:46:58 2017 -0500
Committer: Ricardo Barona <ri...@intel.com>
Committed: Thu Jul 27 12:51:03 2017 -0500

----------------------------------------------------------------------
 spot-ml/src/main/scala/org/apache/spot/SuspiciousConnects.scala | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/781ccf77/spot-ml/src/main/scala/org/apache/spot/SuspiciousConnects.scala
----------------------------------------------------------------------
diff --git a/spot-ml/src/main/scala/org/apache/spot/SuspiciousConnects.scala b/spot-ml/src/main/scala/org/apache/spot/SuspiciousConnects.scala
index 50917df..b0e55ba 100644
--- a/spot-ml/src/main/scala/org/apache/spot/SuspiciousConnects.scala
+++ b/spot-ml/src/main/scala/org/apache/spot/SuspiciousConnects.scala
@@ -104,8 +104,8 @@ object SuspiciousConnects {
           }
 
           case None => logger.error(s"Something went wrong while trying to run Suspicious Connects Analysis")
-            logger.error(s"The value of parameter analysis (provided: $analysis) is any of the valid analysis types? " +
-              s"(flow, dns, proxy).")
+            logger.error(s"Is the value of the analysis parameter (provided: $analysis) any of the valid analysis " +
+              s"types flow/dns/proxy?")
             logger.error("If analysis type is correct please check for other errors like schema not matching or " +
               "bad spark parameters")
         }