From d2ee09bd44fb039cc8e0f6f8f5e90060c4207f58 Mon Sep 17 00:00:00 2001 From: Michael Quigley Date: Wed, 4 Sep 2024 17:01:33 -0400 Subject: [PATCH] lint --- controller/controller.go | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/controller/controller.go b/controller/controller.go index 5603ddbd..7b210a98 100644 --- a/controller/controller.go +++ b/controller/controller.go @@ -2,23 +2,22 @@ package controller import ( "context" + "github.com/go-openapi/loads" + influxdb2 "github.com/influxdata/influxdb-client-go/v2" "github.com/jessevdk/go-flags" "github.com/openziti/zrok/controller/config" "github.com/openziti/zrok/controller/limits" "github.com/openziti/zrok/controller/metrics" - "github.com/sirupsen/logrus" - "log" - "net/http" - _ "net/http/pprof" - - "github.com/go-openapi/loads" - influxdb2 "github.com/influxdata/influxdb-client-go/v2" "github.com/openziti/zrok/controller/store" "github.com/openziti/zrok/rest_server_zrok" "github.com/openziti/zrok/rest_server_zrok/operations" "github.com/openziti/zrok/rest_server_zrok/operations/account" "github.com/openziti/zrok/rest_server_zrok/operations/metadata" "github.com/pkg/errors" + "github.com/sirupsen/logrus" + "log" + "net/http" + _ "net/http/pprof" ) var ( @@ -151,7 +150,3 @@ func Run(inCfg *config.Config) error { return nil } - -func Store() *store.Store { - return str -}