chore: Use new authorization client

pull/19879/head
Stuart Carnie 2020-10-29 08:23:07 -07:00
parent fbe85ef548
commit 62a00fcf71
1 changed files with 2 additions and 2 deletions

View File

@ -5,8 +5,8 @@ import (
"io"
platform "github.com/influxdata/influxdb/v2"
"github.com/influxdata/influxdb/v2/authorization"
"github.com/influxdata/influxdb/v2/cmd/influx/internal"
"github.com/influxdata/influxdb/v2/http"
"github.com/spf13/cobra"
)
@ -668,7 +668,7 @@ func newAuthorizationService() (platform.AuthorizationService, error) {
return nil, err
}
return &http.AuthorizationService{
return &authorization.AuthorizationClientService{
Client: httpClient,
}, nil
}