Skip to content

Commit

Permalink
Comment out unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
matejkramny committed Feb 13, 2017
1 parent 021871b commit dab2264
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions dns.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ package cachet

import (
"net"

"strings"

"regexp"
"strings"

"github.com/Sirupsen/logrus"
"github.com/miekg/dns"
Expand Down
6 changes: 3 additions & 3 deletions monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dab2264

Please sign in to comment.