Skip to content

Commit dab2264

Browse files
committed
Comment out unused code
1 parent 021871b commit dab2264

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

dns.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ package cachet
22

33
import (
44
"net"
5-
6-
"strings"
7-
85
"regexp"
6+
"strings"
97

108
"github.com/Sirupsen/logrus"
119
"github.com/miekg/dns"

monitor.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ type AbstractMonitor struct {
5050

5151
// lag / average(lagHistory) * 100 = percentage above average lag
5252
// PerformanceThreshold sets the % limit above which this monitor will trigger degraded-performance
53-
PerformanceThreshold float32
53+
// PerformanceThreshold float32
5454

55-
history []bool
56-
lagHistory []float32
55+
history []bool
56+
// lagHistory []float32
5757
lastFailReason string
5858
incident *Incident
5959
config *CachetMonitor

0 commit comments

Comments
 (0)