summaryrefslogtreecommitdiff
path: root/lib/custodian/parser.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-15 15:46:25 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-15 15:46:25 +0000
commitdd2bb1e138d8519f7cd6f3f772f55345f56644ec (patch)
treed26ddda2b543e691e4599602b1dae26ffcbb3296 /lib/custodian/parser.rb
parentb8078b2424965c815e7418ceb89848f112c4feb1 (diff)
Added --test flag
Diffstat (limited to 'lib/custodian/parser.rb')
-rwxr-xr-xlib/custodian/parser.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/custodian/parser.rb b/lib/custodian/parser.rb
index 29c69f6..6407621 100755
--- a/lib/custodian/parser.rb
+++ b/lib/custodian/parser.rb
@@ -425,6 +425,11 @@ class MonitorConfig
#
+ # Just testing syntax? At this point we're done
+ #
+ next if ( ENV['TEST'] )
+
+ #
# We've now parsed the line. Either output the JSON to the console
# or add to the queue.
#