Comment out unused code

This commit is contained in:
Matej Kramny
2017-02-12 20:05:04 -08:00
parent 021871b763
commit dab2264c7a
2 changed files with 4 additions and 6 deletions

4
dns.go
View File

@@ -2,10 +2,8 @@ package cachet
import (
"net"
"strings"
"regexp"
"strings"
"github.com/Sirupsen/logrus"
"github.com/miekg/dns"

View File

@@ -50,10 +50,10 @@ type AbstractMonitor struct {
// lag / average(lagHistory) * 100 = percentage above average lag
// PerformanceThreshold sets the % limit above which this monitor will trigger degraded-performance
PerformanceThreshold float32
// PerformanceThreshold float32
history []bool
lagHistory []float32
history []bool
// lagHistory []float32
lastFailReason string
incident *Incident
config *CachetMonitor