Skip to content

Commit

Permalink
admin api client constructor func name update
Browse files Browse the repository at this point in the history
  • Loading branch information
dcarbone committed Sep 11, 2020
1 parent e902e98 commit 54a89d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -490,15 +490,15 @@ func NewAdminAPIClient(config *APIClientConfig, mutators ...ConfigMutator) (*Adm
return c.Admin(), nil
}

func NewAdminClientWithProvider(cp CombinedProvider, mutators ...ConfigMutator) (*AdminAPIClient, error) {
func NewAdminAPIClientWithProvider(cp CombinedProvider, mutators ...ConfigMutator) (*AdminAPIClient, error) {
c, err := NewAPIClientWithProvider(cp)
if err != nil {
return nil, err
}
return c.Admin(), nil
}

func NewAdminClientWithInstallDocument(id *InstallDocument, mutators ...ConfigMutator) (*AdminAPIClient, error) {
func NewAdminAPIClientWithInstallDocument(id *InstallDocument, mutators ...ConfigMutator) (*AdminAPIClient, error) {
c, err := NewAPIClientWithInstallDocument(id, mutators...)
if err != nil {
return nil, err
Expand Down

0 comments on commit 54a89d2

Please sign in to comment.