Skip to content

Commit

Permalink
chore(pkger): axe deprecated /packges route tree
Browse files Browse the repository at this point in the history
  • Loading branch information
jsteenb2 committed Jul 24, 2020
1 parent 0dac01a commit 4fa8c64
Show file tree
Hide file tree
Showing 6 changed files with 174 additions and 1,855 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## v2.0.0-beta.16 [unreleased]

### Breaking

1. [19066](https://github.com/influxdata/influxdb/pull/19066): Drop deprecated /packages route tree

### Bug Fixes

1. [19043](https://github.com/influxdata/influxdb/pull/19043): Enforce all influx CLI flag args are valid
Expand Down
7 changes: 0 additions & 7 deletions cmd/influxd/launcher/launcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -1047,12 +1047,6 @@ func (m *Launcher) run(ctx context.Context) (err error) {
pkgSVC = pkger.MWAuth(authAgent)(pkgSVC)
}

var pkgHTTPServerDeprecated *pkger.HTTPServerPackages
{
pkgServerLogger := m.log.With(zap.String("handler", "pkger"))
pkgHTTPServerDeprecated = pkger.NewHTTPServerPackages(pkgServerLogger, pkgSVC)
}

var stacksHTTPServer *pkger.HTTPServerStacks
{
tLogger := m.log.With(zap.String("handler", "stacks"))
Expand Down Expand Up @@ -1126,7 +1120,6 @@ func (m *Launcher) run(ctx context.Context) (err error) {

{
platformHandler := http.NewPlatformHandler(m.apibackend,
http.WithResourceHandler(pkgHTTPServerDeprecated),
http.WithResourceHandler(stacksHTTPServer),
http.WithResourceHandler(templatesHTTPServer),
http.WithResourceHandler(onboardHTTPServer),
Expand Down
Loading

0 comments on commit 4fa8c64

Please sign in to comment.