diff --git a/chronograf/server/annotations_test.go b/chronograf/server/annotations_test.go index dde895e03dc..b5ca0c8f4c9 100644 --- a/chronograf/server/annotations_test.go +++ b/chronograf/server/annotations_test.go @@ -10,7 +10,7 @@ import ( "github.com/influxdata/influxdb/chronograf" "github.com/influxdata/influxdb/chronograf/mocks" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" ) func TestService_Annotations(t *testing.T) { diff --git a/chronograf/server/cells.go b/chronograf/server/cells.go index 916ebbcf3bb..658dc2ecc15 100644 --- a/chronograf/server/cells.go +++ b/chronograf/server/cells.go @@ -7,7 +7,7 @@ import ( "github.com/influxdata/influxdb/chronograf" idgen "github.com/influxdata/influxdb/chronograf/id" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" ) const ( diff --git a/chronograf/server/cells_test.go b/chronograf/server/cells_test.go index c4e5fc3f81a..a7288179c1d 100644 --- a/chronograf/server/cells_test.go +++ b/chronograf/server/cells_test.go @@ -15,7 +15,7 @@ import ( "github.com/google/go-cmp/cmp" "github.com/influxdata/influxdb/chronograf" "github.com/influxdata/influxdb/chronograf/mocks" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" ) func Test_Cells_CorrectAxis(t *testing.T) { diff --git a/chronograf/server/databases.go b/chronograf/server/databases.go index 577ff431d99..9e4d541f935 100644 --- a/chronograf/server/databases.go +++ b/chronograf/server/databases.go @@ -9,7 +9,7 @@ import ( "strconv" "github.com/influxdata/influxdb/chronograf" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" ) const ( diff --git a/chronograf/server/databases_test.go b/chronograf/server/databases_test.go index c625c98e640..993865a4dcb 100644 --- a/chronograf/server/databases_test.go +++ b/chronograf/server/databases_test.go @@ -10,7 +10,7 @@ import ( "github.com/influxdata/influxdb/chronograf" "github.com/influxdata/influxdb/chronograf/mocks" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" ) func TestService_GetDatabases(t *testing.T) { diff --git a/chronograf/server/influx_test.go b/chronograf/server/influx_test.go index e4318877e11..a2c650212b7 100644 --- a/chronograf/server/influx_test.go +++ b/chronograf/server/influx_test.go @@ -10,7 +10,7 @@ import ( "github.com/influxdata/influxdb/chronograf" "github.com/influxdata/influxdb/chronograf/mocks" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" ) func TestService_Influx(t *testing.T) { diff --git a/chronograf/server/mux.go b/chronograf/server/mux.go index e46a9b7f99d..817da8af501 100644 --- a/chronograf/server/mux.go +++ b/chronograf/server/mux.go @@ -15,7 +15,7 @@ import ( "github.com/influxdata/influxdb/chronograf" "github.com/influxdata/influxdb/chronograf/oauth2" "github.com/influxdata/influxdb/chronograf/roles" - jhttprouter "github.com/julienschmidt/httprouter" + jhttprouter "github.com/influxdata/httprouter" ) const ( diff --git a/chronograf/server/permissions_test.go b/chronograf/server/permissions_test.go index ae7331da6e8..a0b2b228b23 100644 --- a/chronograf/server/permissions_test.go +++ b/chronograf/server/permissions_test.go @@ -10,7 +10,7 @@ import ( "github.com/influxdata/influxdb/chronograf" "github.com/influxdata/influxdb/chronograf/mocks" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" ) func TestService_Permissions(t *testing.T) { diff --git a/chronograf/server/queries_test.go b/chronograf/server/queries_test.go index 406443118af..faeda4b2cec 100644 --- a/chronograf/server/queries_test.go +++ b/chronograf/server/queries_test.go @@ -9,7 +9,7 @@ import ( "github.com/influxdata/influxdb/chronograf" "github.com/influxdata/influxdb/chronograf/mocks" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" ) func TestService_Queries(t *testing.T) { diff --git a/chronograf/server/sources_test.go b/chronograf/server/sources_test.go index f1eeb5da015..fbede81bcd0 100644 --- a/chronograf/server/sources_test.go +++ b/chronograf/server/sources_test.go @@ -13,7 +13,7 @@ import ( "github.com/google/go-cmp/cmp" "github.com/influxdata/influxdb/chronograf" "github.com/influxdata/influxdb/chronograf/mocks" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" ) func Test_ValidSourceRequest(t *testing.T) { diff --git a/go.mod b/go.mod index 55622eb37ce..894cc8e72b5 100644 --- a/go.mod +++ b/go.mod @@ -41,11 +41,11 @@ require ( github.com/hashicorp/vault/api v1.0.2 github.com/influxdata/cron v0.0.0-20191112133922-ad5847cfab62 github.com/influxdata/flux v0.54.0 + github.com/influxdata/httprouter v1.3.1-0.20191122104820-ee83e2772f69 github.com/influxdata/influxql v0.0.0-20180925231337-1cbfca8e56b6 github.com/influxdata/usage-client v0.0.0-20160829180054-6d3895376368 github.com/jessevdk/go-flags v1.4.0 github.com/jsternberg/zap-logfmt v1.2.0 - github.com/julienschmidt/httprouter v1.2.0 github.com/jwilder/encoding v0.0.0-20170811194829-b4e1701a28ef github.com/k0kubun/colorstring v0.0.0-20150214042306-9440f1994b88 // indirect github.com/kevinburke/go-bindata v3.11.0+incompatible @@ -112,5 +112,3 @@ replace github.com/Sirupsen/logrus => github.com/sirupsen/logrus v1.2.0 replace github.com/influxdata/platform => /dev/null replace github.com/goreleaser/goreleaser => github.com/influxdata/goreleaser v0.97.0-influx - -replace github.com/julienschmidt/httprouter => github.com/georgemac/httprouter v1.3.1-0.20191121142037-34e411acc501 diff --git a/go.sum b/go.sum index 3787141cdad..fbeefb69b45 100644 --- a/go.sum +++ b/go.sum @@ -247,6 +247,8 @@ github.com/influxdata/flux v0.54.0 h1:DjAkGoPkgHLDPEn1jSuOpsH4QgcjmSBkRuxSAaQCj1 github.com/influxdata/flux v0.54.0/go.mod h1:ZFf4F0c8ACFP/5BkfCwk9I/vUwcByr0vMdLxwgOk57E= github.com/influxdata/goreleaser v0.97.0-influx h1:jT5OrcW7WfS0e2QxfwmTBjhLvpIC9CDLRhNgZJyhj8s= github.com/influxdata/goreleaser v0.97.0-influx/go.mod h1:MnjA0e0Uq6ISqjG1WxxMAl+3VS1QYjILSWVnMYDxasE= +github.com/influxdata/httprouter v1.3.1-0.20191122104820-ee83e2772f69 h1:WQsmW0fXO4ZE/lFGIE84G6rIV5SJN3P3sjIXAP1a8eU= +github.com/influxdata/httprouter v1.3.1-0.20191122104820-ee83e2772f69/go.mod h1:pwymjR6SrP3gD3pRj9RJwdl1j5s3doEEV8gS4X9qSzA= github.com/influxdata/influxql v0.0.0-20180925231337-1cbfca8e56b6 h1:CFx+pP90q/qg3spoiZjf8donE4WpAdjeJfPOcoNqkWo= github.com/influxdata/influxql v0.0.0-20180925231337-1cbfca8e56b6/go.mod h1:KpVI7okXjK6PRi3Z5B+mtKZli+R1DnZgb3N+tzevNgo= github.com/influxdata/line-protocol v0.0.0-20180522152040-32c6aa80de5e h1:/o3vQtpWJhvnIbXley4/jwzzqNeigJK9z+LZcJZ9zfM= @@ -269,6 +271,7 @@ github.com/jsternberg/zap-logfmt v1.2.0 h1:1v+PK4/B48cy8cfQbxL4FmmNZrjnIMr2BsnyE github.com/jsternberg/zap-logfmt v1.2.0/go.mod h1:kz+1CUmCutPWABnNkOu9hOHKdT2q3TDYCcsFy9hpqb0= github.com/jtolds/gls v4.20.0+incompatible h1:xdiiI2gbIgH/gLH7ADydsJ1uDOEzR8yvV7C0MuV77Wo= github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= +github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= github.com/jwilder/encoding v0.0.0-20170811194829-b4e1701a28ef h1:2jNeR4YUziVtswNP9sEFAI913cVrzH85T+8Q6LpYbT0= github.com/jwilder/encoding v0.0.0-20170811194829-b4e1701a28ef/go.mod h1:Ct9fl0F6iIOGgxJ5npU/IUOhOhqlVrGjyIZc8/MagT0= github.com/k0kubun/colorstring v0.0.0-20150214042306-9440f1994b88 h1:uC1QfSlInpQF+M0ao65imhwqKnz3Q2z/d8PWZRMQvDM= diff --git a/http/auth_service.go b/http/auth_service.go index 794c2c4c1c6..89c506a518a 100644 --- a/http/auth_service.go +++ b/http/auth_service.go @@ -14,7 +14,7 @@ import ( platform "github.com/influxdata/influxdb" platcontext "github.com/influxdata/influxdb/context" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" ) // AuthorizationBackend is all services and associated parameters required to construct diff --git a/http/auth_test.go b/http/auth_test.go index 608a927a81b..4fe6bdd8b3d 100644 --- a/http/auth_test.go +++ b/http/auth_test.go @@ -18,7 +18,7 @@ import ( "github.com/influxdata/influxdb/kv" "github.com/influxdata/influxdb/mock" platformtesting "github.com/influxdata/influxdb/testing" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" ) // NewMockAuthorizationBackend returns a AuthorizationBackend with mock services. diff --git a/http/authentication_middleware.go b/http/authentication_middleware.go index 706d15741c3..973ec644d15 100644 --- a/http/authentication_middleware.go +++ b/http/authentication_middleware.go @@ -9,7 +9,7 @@ import ( platform "github.com/influxdata/influxdb" platcontext "github.com/influxdata/influxdb/context" "github.com/influxdata/influxdb/jsonweb" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" "go.uber.org/zap" ) diff --git a/http/bucket_service.go b/http/bucket_service.go index f8bdf6ad8cf..ee91b78da59 100644 --- a/http/bucket_service.go +++ b/http/bucket_service.go @@ -9,7 +9,7 @@ import ( "path" "time" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" "go.uber.org/zap" "github.com/influxdata/influxdb" diff --git a/http/bucket_test.go b/http/bucket_test.go index ab79ee3bc6a..aa306792c17 100644 --- a/http/bucket_test.go +++ b/http/bucket_test.go @@ -16,7 +16,7 @@ import ( "github.com/influxdata/influxdb/kv" "github.com/influxdata/influxdb/mock" platformtesting "github.com/influxdata/influxdb/testing" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" "go.uber.org/zap" ) diff --git a/http/check_service.go b/http/check_service.go index 96de8d3b8e1..1c138e9edce 100644 --- a/http/check_service.go +++ b/http/check_service.go @@ -10,7 +10,7 @@ import ( "github.com/influxdata/influxdb" pctx "github.com/influxdata/influxdb/context" "github.com/influxdata/influxdb/notification/check" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" "go.uber.org/zap" ) diff --git a/http/check_test.go b/http/check_test.go index dc543c3ef08..9968c1887bc 100644 --- a/http/check_test.go +++ b/http/check_test.go @@ -18,7 +18,7 @@ import ( "github.com/influxdata/influxdb/mock" "github.com/influxdata/influxdb/notification/check" influxTesting "github.com/influxdata/influxdb/testing" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" "go.uber.org/zap" ) diff --git a/http/chronograf_handler.go b/http/chronograf_handler.go index ca8aa211c77..b7c42cee7f9 100644 --- a/http/chronograf_handler.go +++ b/http/chronograf_handler.go @@ -6,7 +6,7 @@ import ( "github.com/NYTimes/gziphandler" "github.com/influxdata/influxdb" "github.com/influxdata/influxdb/chronograf/server" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" ) // ChronografHandler is an http handler for serving chronograf chronografs. diff --git a/http/dashboard_service.go b/http/dashboard_service.go index bc1da6b7b5f..e4fac8c8a04 100644 --- a/http/dashboard_service.go +++ b/http/dashboard_service.go @@ -9,7 +9,7 @@ import ( "path" platform "github.com/influxdata/influxdb" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" "go.uber.org/zap" ) diff --git a/http/dashboard_test.go b/http/dashboard_test.go index ddf012cafdf..599af89c534 100644 --- a/http/dashboard_test.go +++ b/http/dashboard_test.go @@ -18,7 +18,7 @@ import ( "github.com/influxdata/influxdb/inmem" "github.com/influxdata/influxdb/mock" platformtesting "github.com/influxdata/influxdb/testing" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" "github.com/yudai/gojsondiff" "github.com/yudai/gojsondiff/formatter" ) diff --git a/http/delete_handler.go b/http/delete_handler.go index f48488937ad..82dc14313e5 100644 --- a/http/delete_handler.go +++ b/http/delete_handler.go @@ -12,7 +12,7 @@ import ( pcontext "github.com/influxdata/influxdb/context" "github.com/influxdata/influxdb/kit/tracing" "github.com/influxdata/influxdb/predicate" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" "go.uber.org/zap" ) diff --git a/http/document_service.go b/http/document_service.go index a9041a9f0f4..7f4c3896b89 100644 --- a/http/document_service.go +++ b/http/document_service.go @@ -8,7 +8,7 @@ import ( "github.com/influxdata/influxdb" pcontext "github.com/influxdata/influxdb/context" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" "go.uber.org/zap" ) diff --git a/http/document_test.go b/http/document_test.go index d65e6f00e15..75076f59047 100644 --- a/http/document_test.go +++ b/http/document_test.go @@ -14,7 +14,7 @@ import ( pcontext "github.com/influxdata/influxdb/context" "github.com/influxdata/influxdb/mock" influxtesting "github.com/influxdata/influxdb/testing" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" "go.uber.org/zap" ) diff --git a/http/label_service.go b/http/label_service.go index 75d223ee31d..629c150d892 100644 --- a/http/label_service.go +++ b/http/label_service.go @@ -12,7 +12,7 @@ import ( "go.uber.org/zap" "github.com/influxdata/influxdb" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" ) // LabelHandler represents an HTTP API handler for labels diff --git a/http/label_test.go b/http/label_test.go index b8f39d64a17..e2b8c652e34 100644 --- a/http/label_test.go +++ b/http/label_test.go @@ -13,7 +13,7 @@ import ( platform "github.com/influxdata/influxdb" "github.com/influxdata/influxdb/mock" platformtesting "github.com/influxdata/influxdb/testing" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" ) func TestService_handleGetLabels(t *testing.T) { diff --git a/http/notification_endpoint.go b/http/notification_endpoint.go index e1499b15576..217c70d1f9e 100644 --- a/http/notification_endpoint.go +++ b/http/notification_endpoint.go @@ -10,7 +10,7 @@ import ( "github.com/influxdata/influxdb" pctx "github.com/influxdata/influxdb/context" "github.com/influxdata/influxdb/notification/endpoint" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" "go.uber.org/zap" ) diff --git a/http/notification_endpoint_test.go b/http/notification_endpoint_test.go index 7e089d66d1e..87013b2aefc 100644 --- a/http/notification_endpoint_test.go +++ b/http/notification_endpoint_test.go @@ -17,7 +17,7 @@ import ( "github.com/influxdata/influxdb/mock" "github.com/influxdata/influxdb/notification/endpoint" influxTesting "github.com/influxdata/influxdb/testing" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" "go.uber.org/zap" ) diff --git a/http/notification_rule.go b/http/notification_rule.go index c54e61a7d0d..fbecbfa70ad 100644 --- a/http/notification_rule.go +++ b/http/notification_rule.go @@ -10,7 +10,7 @@ import ( "github.com/influxdata/influxdb" pctx "github.com/influxdata/influxdb/context" "github.com/influxdata/influxdb/notification/rule" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" "go.uber.org/zap" ) diff --git a/http/onboarding.go b/http/onboarding.go index 740230be5d9..7707b55797d 100644 --- a/http/onboarding.go +++ b/http/onboarding.go @@ -8,7 +8,7 @@ import ( "net/http" platform "github.com/influxdata/influxdb" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" "go.uber.org/zap" ) diff --git a/http/org_service.go b/http/org_service.go index b69b21d9b75..c6cb217f675 100644 --- a/http/org_service.go +++ b/http/org_service.go @@ -8,7 +8,7 @@ import ( "net/http" "path" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" "go.uber.org/zap" "github.com/influxdata/influxdb" diff --git a/http/query_handler.go b/http/query_handler.go index ae25dce4369..87901934ff4 100644 --- a/http/query_handler.go +++ b/http/query_handler.go @@ -24,7 +24,7 @@ import ( "github.com/influxdata/influxdb/kit/check" "github.com/influxdata/influxdb/kit/tracing" "github.com/influxdata/influxdb/query" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" "github.com/pkg/errors" prom "github.com/prometheus/client_golang/prometheus" "go.uber.org/zap" diff --git a/http/router.go b/http/router.go index 93dfdc1ded8..018a47276cc 100644 --- a/http/router.go +++ b/http/router.go @@ -10,7 +10,7 @@ import ( "github.com/go-chi/chi" platform "github.com/influxdata/influxdb" influxlogger "github.com/influxdata/influxdb/logger" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" "go.uber.org/zap" "go.uber.org/zap/zapcore" ) diff --git a/http/scraper_service.go b/http/scraper_service.go index 4da0c31d94c..49cfb6fab8b 100644 --- a/http/scraper_service.go +++ b/http/scraper_service.go @@ -10,7 +10,7 @@ import ( "github.com/influxdata/influxdb" pctx "github.com/influxdata/influxdb/context" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" "go.uber.org/zap" ) diff --git a/http/scraper_service_test.go b/http/scraper_service_test.go index aeaa90ab303..40f8842912c 100644 --- a/http/scraper_service_test.go +++ b/http/scraper_service_test.go @@ -18,7 +18,7 @@ import ( "github.com/influxdata/influxdb/inmem" "github.com/influxdata/influxdb/mock" platformtesting "github.com/influxdata/influxdb/testing" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" ) const ( diff --git a/http/session_handler.go b/http/session_handler.go index ff538dff86f..e1844ce4bb5 100644 --- a/http/session_handler.go +++ b/http/session_handler.go @@ -5,7 +5,7 @@ import ( "net/http" platform "github.com/influxdata/influxdb" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" "go.uber.org/zap" ) diff --git a/http/source_service.go b/http/source_service.go index a4f0e1d5c65..4fd9720bee6 100644 --- a/http/source_service.go +++ b/http/source_service.go @@ -15,7 +15,7 @@ import ( platform "github.com/influxdata/influxdb" "github.com/influxdata/influxdb/query" "github.com/influxdata/influxdb/query/influxql" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" "go.uber.org/zap" ) diff --git a/http/task_service.go b/http/task_service.go index 09fcc7dc3ec..cbb51790bb2 100644 --- a/http/task_service.go +++ b/http/task_service.go @@ -18,7 +18,7 @@ import ( "github.com/influxdata/influxdb/kit/tracing" "github.com/influxdata/influxdb/kv" "github.com/influxdata/influxdb/task/backend" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" "go.uber.org/zap" ) diff --git a/http/task_service_test.go b/http/task_service_test.go index b54477cd7de..b6849dded02 100644 --- a/http/task_service_test.go +++ b/http/task_service_test.go @@ -20,7 +20,7 @@ import ( _ "github.com/influxdata/influxdb/query/builtin" "github.com/influxdata/influxdb/task/backend" platformtesting "github.com/influxdata/influxdb/testing" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" "go.uber.org/zap" "go.uber.org/zap/zaptest" ) diff --git a/http/telegraf.go b/http/telegraf.go index a5db7b71e64..51a44968259 100644 --- a/http/telegraf.go +++ b/http/telegraf.go @@ -11,7 +11,7 @@ import ( platform "github.com/influxdata/influxdb" pctx "github.com/influxdata/influxdb/context" "github.com/influxdata/influxdb/telegraf/plugins" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" "go.uber.org/zap" ) diff --git a/http/usage_service.go b/http/usage_service.go index abd9646151e..0eca55a370a 100644 --- a/http/usage_service.go +++ b/http/usage_service.go @@ -7,7 +7,7 @@ import ( "time" platform "github.com/influxdata/influxdb" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" "go.uber.org/zap" ) diff --git a/http/user_resource_mapping_service.go b/http/user_resource_mapping_service.go index 550aee6800f..1a253b89103 100644 --- a/http/user_resource_mapping_service.go +++ b/http/user_resource_mapping_service.go @@ -11,7 +11,7 @@ import ( "go.uber.org/zap" "github.com/influxdata/influxdb" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" ) // UserResourceMappingService is the struct of urm service diff --git a/http/user_resource_mapping_test.go b/http/user_resource_mapping_test.go index e64abd56e3c..64d3aa4d929 100644 --- a/http/user_resource_mapping_test.go +++ b/http/user_resource_mapping_test.go @@ -14,7 +14,7 @@ import ( platform "github.com/influxdata/influxdb" "github.com/influxdata/influxdb/mock" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" ) func TestUserResourceMappingService_GetMembersHandler(t *testing.T) { diff --git a/http/user_service.go b/http/user_service.go index 2e8703a32e3..f2ba268d087 100644 --- a/http/user_service.go +++ b/http/user_service.go @@ -10,7 +10,7 @@ import ( "github.com/influxdata/influxdb" icontext "github.com/influxdata/influxdb/context" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" "go.uber.org/zap" ) diff --git a/http/variable_service.go b/http/variable_service.go index 5d37e62e904..b6250fccb97 100644 --- a/http/variable_service.go +++ b/http/variable_service.go @@ -9,7 +9,7 @@ import ( "path" platform "github.com/influxdata/influxdb" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" "go.uber.org/zap" ) diff --git a/http/variable_test.go b/http/variable_test.go index c8dbdd79513..616f2346f46 100644 --- a/http/variable_test.go +++ b/http/variable_test.go @@ -16,7 +16,7 @@ import ( platform "github.com/influxdata/influxdb" "github.com/influxdata/influxdb/mock" platformtesting "github.com/influxdata/influxdb/testing" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" ) var faketime = time.Date(2006, 5, 4, 1, 2, 3, 0, time.UTC) diff --git a/http/write_handler.go b/http/write_handler.go index c0897a130e2..feb06d19378 100644 --- a/http/write_handler.go +++ b/http/write_handler.go @@ -10,7 +10,7 @@ import ( "time" "github.com/influxdata/influxdb/http/metric" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" "go.uber.org/zap" "github.com/influxdata/influxdb" diff --git a/kit/tracing/tracing.go b/kit/tracing/tracing.go index 9bbbfea89f6..1887d8751b6 100644 --- a/kit/tracing/tracing.go +++ b/kit/tracing/tracing.go @@ -7,7 +7,7 @@ import ( "runtime" "strings" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" "github.com/opentracing/opentracing-go" "github.com/opentracing/opentracing-go/ext" "github.com/opentracing/opentracing-go/log" diff --git a/kit/tracing/tracing_test.go b/kit/tracing/tracing_test.go index 5a7a09a7a92..a5e1f1d55ed 100644 --- a/kit/tracing/tracing_test.go +++ b/kit/tracing/tracing_test.go @@ -8,7 +8,7 @@ import ( "runtime" "testing" - "github.com/julienschmidt/httprouter" + "github.com/influxdata/httprouter" "github.com/opentracing/opentracing-go" "github.com/opentracing/opentracing-go/mocktracer" )