From e771b72a829f7f229fd9e7d27ec62682b1c84294 Mon Sep 17 00:00:00 2001 From: Priya Wadhwa Date: Mon, 13 Jul 2020 10:05:06 -0400 Subject: [PATCH] fix lint --- pkg/minikube/download/json_output.go | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/pkg/minikube/download/json_output.go b/pkg/minikube/download/json_output.go index fccee44730..7a19838883 100644 --- a/pkg/minikube/download/json_output.go +++ b/pkg/minikube/download/json_output.go @@ -14,10 +14,6 @@ See the License for the specific language governing permissions and limitations under the License. */ -// This file implements a go-getter wrapper for cheggaaa progress bar -// based on: -// https://github.com/hashicorp/go-getter/blob/master/cmd/go-getter/progress_tracking.go - package download import ( @@ -25,7 +21,6 @@ import ( "io" "sync" - "github.com/cheggaaa/pb/v3" "github.com/hashicorp/go-getter" "k8s.io/minikube/pkg/minikube/out/register" ) @@ -33,8 +28,7 @@ import ( var DefaultJSONOutput getter.ProgressTracker = &jsonOutput{} type jsonOutput struct { - lock sync.Mutex - progress *pb.ProgressBar + lock sync.Mutex } // TrackProgress prints out progress of the stream in JSON format until closed