Skip to content

Commit

Permalink
remove(profile/update): APIClientFactory (#1094)
Browse files Browse the repository at this point in the history
  • Loading branch information
Integralist authored Nov 16, 2023
1 parent 484d386 commit ef04aea
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/commands/profile/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ import (
"github.com/fastly/cli/pkg/text"
)

// APIClientFactory allows the profile command to regenerate the global Fastly
// API client when a new token is provided, in order to validate that token.
// It's a redeclaration of the app.APIClientFactory to avoid an import loop.
type APIClientFactory func(token, apiEndpoint string, debugMode bool) (api.Interface, error)

// UpdateCommand represents a Kingpin command.
type UpdateCommand struct {
cmd.Base
Expand Down

0 comments on commit ef04aea

Please sign in to comment.