activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1153513 - /activemq/activemq-apollo/trunk/apollo-cli/src/main/scala/org/apache/activemq/apollo/cli/commands/Run.scala
Date Wed, 03 Aug 2011 14:40:18 GMT
Author: chirino
Date: Wed Aug  3 14:40:17 2011
New Revision: 1153513

URL: http://svn.apache.org/viewvc?rev=1153513&view=rev
Log:
Support hiding validation warnings.

Modified:
    activemq/activemq-apollo/trunk/apollo-cli/src/main/scala/org/apache/activemq/apollo/cli/commands/Run.scala

Modified: activemq/activemq-apollo/trunk/apollo-cli/src/main/scala/org/apache/activemq/apollo/cli/commands/Run.scala
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-cli/src/main/scala/org/apache/activemq/apollo/cli/commands/Run.scala?rev=1153513&r1=1153512&r2=1153513&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-cli/src/main/scala/org/apache/activemq/apollo/cli/commands/Run.scala
(original)
+++ activemq/activemq-apollo/trunk/apollo-cli/src/main/scala/org/apache/activemq/apollo/cli/commands/Run.scala
Wed Aug  3 14:40:17 2011
@@ -86,7 +86,7 @@ class Run extends Action {
       try {
         broker.config = ConfigStore.load(conf, validation_messages += _)
       } finally {
-        if( !validation_messages.isEmpty) {
+        if( !validation_messages.isEmpty && broker.config.validation != "hide") {
           println("")
           println("Broker configuration file failed the following validations:")
           validation_messages.foreach{ v =>



Mime
View raw message