From b51294df15852237584923c9be2edcdbda29e116 Mon Sep 17 00:00:00 2001 From: Xavier Stevens Date: Wed, 7 Jul 2021 12:22:37 -0700 Subject: [PATCH] Fixed linter issues --- v2/pkg/progress/progress.go | 6 +++--- v2/pkg/types/types.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/v2/pkg/progress/progress.go b/v2/pkg/progress/progress.go index 152873c0..551301b7 100644 --- a/v2/pkg/progress/progress.go +++ b/v2/pkg/progress/progress.go @@ -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. diff --git a/v2/pkg/types/types.go b/v2/pkg/types/types.go index ee098b4f..278a54c8 100644 --- a/v2/pkg/types/types.go +++ b/v2/pkg/types/types.go @@ -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