From f9a69ed3546855d192624cfbfea8e1e304de27fd Mon Sep 17 00:00:00 2001
From: Erick Hitter <git-contrib@ethitter.com>
Date: Sun, 16 Jul 2017 11:44:25 -0700
Subject: [PATCH] CI testing

---
 .gitlab-ci.yml      | 4 ++--
 eth-log-alerting.go | 4 +++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c18322e..47ae277 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -38,7 +38,7 @@ compile:
         - go get github.com/hpcloud/tail
         - go get github.com/alecthomas/kingpin
         # Better put this in a Makefile
-        - go build -race -ldflags "-extldflags '-static'" -o mybinary
+        - go build -race -ldflags "-extldflags '-static'" -o eth-log-alerting
     artifacts:
         paths:
-            - mybinary
+            - eth-log-alerting
diff --git a/eth-log-alerting.go b/eth-log-alerting.go
index 9fc03db..ee3ef56 100644
--- a/eth-log-alerting.go
+++ b/eth-log-alerting.go
@@ -38,6 +38,8 @@ var (
 	logger    *log.Logger
 	debugDest string
 	debug     bool
+
+	bad_var_name string
 )
 
 func init() {
@@ -56,7 +58,7 @@ func init() {
 
 	validatePath(&logPath)
 
-	if !govalidator.IsURL(webhookURL) || len(channel) < 2 {
+	if ! govalidator.IsURL(webhookURL) || len(channel) < 2 {
 		usage()
 	}
 
-- 
GitLab