Fixed linter issues

dev
Xavier Stevens 2021-07-07 12:22:37 -07:00 committed by Xavier Stevens
parent 41cf65978c
commit b51294df15
2 changed files with 4 additions and 4 deletions

View File

@ -39,10 +39,10 @@ var _ Progress = &StatsTicker{}
// StatsTicker is a progress instance for showing program stats
type StatsTicker struct {
active bool
tickDuration time.Duration
stats clistats.StatisticsClient
server *http.Server
outputJSON bool
server *http.Server
stats clistats.StatisticsClient
tickDuration time.Duration
}
// NewStatsTicker creates and returns a new progress tracking object.

View File

@ -51,7 +51,7 @@ type Options struct {
ResolversFile string
// StatsInterval is the number of seconds to display stats after
StatsInterval int
// StatsJSON writes stats ouput in JSON format
// StatsJSON writes stats output in JSON format
StatsJSON bool
// MetricsPort is the port to show metrics on
MetricsPort int