Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewvc committed Nov 20, 2021
1 parent 1074805 commit fad0683
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions heartbeat/monitors/monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ type Monitor struct {
scheduler *scheduler.Scheduler
configuredJobs []*configuredJob
enabled bool
state int
// endpoints is a count of endpoints this monitor measures.
endpoints int
// internalsMtx is used to synchronize access to critical
Expand All @@ -64,8 +65,6 @@ type Monitor struct {
// stats is the countersRecorder used to record lifecycle events
// for global metrics + telemetry
stats plugin.RegistryRecorder

state int
}

// String prints a description of the monitor in a threadsafe way. It is important that this use threadsafe
Expand Down

0 comments on commit fad0683

Please sign in to comment.