Skip to content
Snippets Groups Projects
Commit dab2264c authored by Matej Kramny's avatar Matej Kramny
Browse files

Comment out unused code

parent 021871b7
No related branches found
No related tags found
No related merge requests found
...@@ -2,10 +2,8 @@ package cachet ...@@ -2,10 +2,8 @@ package cachet
import ( import (
"net" "net"
"strings"
"regexp" "regexp"
"strings"
"github.com/Sirupsen/logrus" "github.com/Sirupsen/logrus"
"github.com/miekg/dns" "github.com/miekg/dns"
......
...@@ -50,10 +50,10 @@ type AbstractMonitor struct { ...@@ -50,10 +50,10 @@ type AbstractMonitor struct {
// lag / average(lagHistory) * 100 = percentage above average lag // lag / average(lagHistory) * 100 = percentage above average lag
// PerformanceThreshold sets the % limit above which this monitor will trigger degraded-performance // PerformanceThreshold sets the % limit above which this monitor will trigger degraded-performance
PerformanceThreshold float32 // PerformanceThreshold float32
history []bool history []bool
lagHistory []float32 // lagHistory []float32
lastFailReason string lastFailReason string
incident *Incident incident *Incident
config *CachetMonitor config *CachetMonitor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment