Skip to content

Commit

Permalink
breaking(objectstore): rename object-store command to kv-store (#904
Browse files Browse the repository at this point in the history
)

* rename object store to kv store

* update to go-fastly v8

* rename to ValidateSignature to VerifySignature

* fix import

* Update pkg/app/commands.go

Co-authored-by: Mark McDonnell <Integralist@users.noreply.github.com>

* fix order

---------

Co-authored-by: Mark McDonnell <Integralist@users.noreply.github.com>
  • Loading branch information
dennismartensson and Integralist authored Apr 12, 2023
1 parent 336ff2c commit 92952d8
Show file tree
Hide file tree
Showing 397 changed files with 669 additions and 669 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ require (
)

require (
github.com/fastly/go-fastly/v7 v7.5.5
github.com/fastly/go-fastly/v8 v8.0.0
github.com/kennygrant/sanitize v1.2.4
github.com/mholt/archiver v3.1.1+incompatible
github.com/otiai10/copy v1.10.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ github.com/dsnet/compress v0.0.2-0.20210315054119-f66993602bf5/go.mod h1:qssHWj6
github.com/dsnet/golib v0.0.0-20171103203638-1ea166775780/go.mod h1:Lj+Z9rebOhdfkVLjJ8T6VcRQv3SXugXy999NBtR9aFY=
github.com/dustinkirkland/golang-petname v0.0.0-20191129215211-8e5a1ed0cff0 h1:90Ly+6UfUypEF6vvvW5rQIv9opIL8CbmW9FT20LDQoY=
github.com/dustinkirkland/golang-petname v0.0.0-20191129215211-8e5a1ed0cff0/go.mod h1:V+Qd57rJe8gd4eiGzZyg4h54VLHmYVVw54iMnlAMrF8=
github.com/fastly/go-fastly/v7 v7.5.5 h1:M3ePbU6a8BTPZzjaPoU4+O+pQspiBalF5HgVNomHlJI=
github.com/fastly/go-fastly/v7 v7.5.5/go.mod h1:/Z2GD7NuxV3vVMAyrtckg1WvZVnCuM2Z8ok/z70XTEQ=
github.com/fastly/go-fastly/v8 v8.0.0 h1:c5y4Cuga1iffDJ75Y4p89EXr9aar9pDRvODiTX+wLlg=
github.com/fastly/go-fastly/v8 v8.0.0/go.mod h1:m/QWKyZsuH8Ow3tDkRLqlbvbJdxalRGkTT3ZKxZJ4eo=
github.com/fastly/kingpin v2.1.12-0.20191105091915-95d230a53780+incompatible h1:FhrXlfhgGCS+uc6YwyiFUt04alnjpoX7vgDKJxS6Qbk=
github.com/fastly/kingpin v2.1.12-0.20191105091915-95d230a53780+incompatible/go.mod h1:U8UynVoU1SQaqD2I4ZqgYd5lx3A1ipQYn4aSt2Y5h6c=
github.com/fatih/color v1.15.0 h1:kOqh6YHBtK8aywxGerMG2Eq3H6Qgoqeo13Bk2Mv/nBs=
Expand Down
18 changes: 9 additions & 9 deletions pkg/api/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"crypto/ed25519"
"net/http"

"github.com/fastly/go-fastly/v7/fastly"
"github.com/fastly/go-fastly/v8/fastly"
)

// HTTPClient models a concrete http.Client. It's a consumer contract for some
Expand Down Expand Up @@ -343,14 +343,14 @@ type Interface interface {
ListConfigStoreItems(i *fastly.ListConfigStoreItemsInput) ([]*fastly.ConfigStoreItem, error)
UpdateConfigStoreItem(i *fastly.UpdateConfigStoreItemInput) (*fastly.ConfigStoreItem, error)

CreateObjectStore(i *fastly.CreateObjectStoreInput) (*fastly.ObjectStore, error)
ListObjectStores(i *fastly.ListObjectStoresInput) (*fastly.ListObjectStoresResponse, error)
DeleteObjectStore(i *fastly.DeleteObjectStoreInput) error
GetObjectStore(i *fastly.GetObjectStoreInput) (*fastly.ObjectStore, error)
ListObjectStoreKeys(i *fastly.ListObjectStoreKeysInput) (*fastly.ListObjectStoreKeysResponse, error)
GetObjectStoreKey(i *fastly.GetObjectStoreKeyInput) (string, error)
DeleteObjectStoreKey(i *fastly.DeleteObjectStoreKeyInput) error
InsertObjectStoreKey(i *fastly.InsertObjectStoreKeyInput) error
CreateKVStore(i *fastly.CreateKVStoreInput) (*fastly.KVStore, error)
ListKVStores(i *fastly.ListKVStoresInput) (*fastly.ListKVStoresResponse, error)
DeleteKVStore(i *fastly.DeleteKVStoreInput) error
GetKVStore(i *fastly.GetKVStoreInput) (*fastly.KVStore, error)
ListKVStoreKeys(i *fastly.ListKVStoreKeysInput) (*fastly.ListKVStoreKeysResponse, error)
GetKVStoreKey(i *fastly.GetKVStoreKeyInput) (string, error)
DeleteKVStoreKey(i *fastly.DeleteKVStoreKeyInput) error
InsertKVStoreKey(i *fastly.InsertKVStoreKeyInput) error

CreateSecretStore(i *fastly.CreateSecretStoreInput) (*fastly.SecretStore, error)
GetSecretStore(i *fastly.GetSecretStoreInput) (*fastly.SecretStore, error)
Expand Down
40 changes: 20 additions & 20 deletions pkg/app/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ import (
"github.com/fastly/cli/pkg/commands/domain"
"github.com/fastly/cli/pkg/commands/healthcheck"
"github.com/fastly/cli/pkg/commands/ip"
"github.com/fastly/cli/pkg/commands/kvstore"
"github.com/fastly/cli/pkg/commands/kvstoreentry"
"github.com/fastly/cli/pkg/commands/logging"
"github.com/fastly/cli/pkg/commands/logging/azureblob"
"github.com/fastly/cli/pkg/commands/logging/bigquery"
Expand Down Expand Up @@ -42,8 +44,6 @@ import (
"github.com/fastly/cli/pkg/commands/logging/sumologic"
"github.com/fastly/cli/pkg/commands/logging/syslog"
"github.com/fastly/cli/pkg/commands/logtail"
"github.com/fastly/cli/pkg/commands/objectstore"
"github.com/fastly/cli/pkg/commands/objectstoreentry"
"github.com/fastly/cli/pkg/commands/pop"
"github.com/fastly/cli/pkg/commands/profile"
"github.com/fastly/cli/pkg/commands/purge"
Expand Down Expand Up @@ -157,6 +157,16 @@ func defineCommands(
healthcheckList := healthcheck.NewListCommand(healthcheckCmdRoot.CmdClause, g, m)
healthcheckUpdate := healthcheck.NewUpdateCommand(healthcheckCmdRoot.CmdClause, g, m)
ipCmdRoot := ip.NewRootCommand(app, g)
kvstoreCmdRoot := kvstore.NewRootCommand(app, g)
kvstoreCreate := kvstore.NewCreateCommand(kvstoreCmdRoot.CmdClause, g, m)
kvstoreDelete := kvstore.NewDeleteCommand(kvstoreCmdRoot.CmdClause, g, m)
kvstoreDescribe := kvstore.NewDescribeCommand(kvstoreCmdRoot.CmdClause, g, m)
kvstoreList := kvstore.NewListCommand(kvstoreCmdRoot.CmdClause, g, m)
kvstoreentryCmdRoot := kvstoreentry.NewRootCommand(app, g)
kvstoreentryCreate := kvstoreentry.NewCreateCommand(kvstoreentryCmdRoot.CmdClause, g, m)
kvstoreentryDelete := kvstoreentry.NewDeleteCommand(kvstoreentryCmdRoot.CmdClause, g, m)
kvstoreentryDescribe := kvstoreentry.NewDescribeCommand(kvstoreentryCmdRoot.CmdClause, g, m)
kvstoreentryList := kvstoreentry.NewListCommand(kvstoreentryCmdRoot.CmdClause, g, m)
logtailCmdRoot := logtail.NewRootCommand(app, g, m)
loggingCmdRoot := logging.NewRootCommand(app, g)
loggingAzureblobCmdRoot := azureblob.NewRootCommand(loggingCmdRoot.CmdClause, g)
Expand Down Expand Up @@ -309,16 +319,6 @@ func defineCommands(
loggingSyslogDescribe := syslog.NewDescribeCommand(loggingSyslogCmdRoot.CmdClause, g, m)
loggingSyslogList := syslog.NewListCommand(loggingSyslogCmdRoot.CmdClause, g, m)
loggingSyslogUpdate := syslog.NewUpdateCommand(loggingSyslogCmdRoot.CmdClause, g, m)
objectstoreCmdRoot := objectstore.NewRootCommand(app, g)
objectstoreCreate := objectstore.NewCreateCommand(objectstoreCmdRoot.CmdClause, g, m)
objectstoreDelete := objectstore.NewDeleteCommand(objectstoreCmdRoot.CmdClause, g, m)
objectstoreDescribe := objectstore.NewDescribeCommand(objectstoreCmdRoot.CmdClause, g, m)
objectstoreList := objectstore.NewListCommand(objectstoreCmdRoot.CmdClause, g, m)
objectstoreentryCmdRoot := objectstoreentry.NewRootCommand(app, g)
objectstoreentryCreate := objectstoreentry.NewCreateCommand(objectstoreentryCmdRoot.CmdClause, g, m)
objectstoreentryDelete := objectstoreentry.NewDeleteCommand(objectstoreentryCmdRoot.CmdClause, g, m)
objectstoreentryDescribe := objectstoreentry.NewDescribeCommand(objectstoreentryCmdRoot.CmdClause, g, m)
objectstoreentryList := objectstoreentry.NewListCommand(objectstoreentryCmdRoot.CmdClause, g, m)
popCmdRoot := pop.NewRootCommand(app, g)
profileCmdRoot := profile.NewRootCommand(app, g)
profileCreate := profile.NewCreateCommand(profileCmdRoot.CmdClause, profile.APIClientFactory(opts.APIClient), g)
Expand Down Expand Up @@ -508,6 +508,14 @@ func defineCommands(
healthcheckList,
healthcheckUpdate,
ipCmdRoot,
kvstoreCreate,
kvstoreDelete,
kvstoreDescribe,
kvstoreList,
kvstoreentryCreate,
kvstoreentryDelete,
kvstoreentryDescribe,
kvstoreentryList,
logtailCmdRoot,
loggingAzureblobCmdRoot,
loggingAzureblobCreate,
Expand Down Expand Up @@ -660,14 +668,6 @@ func defineCommands(
loggingSyslogDescribe,
loggingSyslogList,
loggingSyslogUpdate,
objectstoreCreate,
objectstoreDelete,
objectstoreDescribe,
objectstoreList,
objectstoreentryCreate,
objectstoreentryDelete,
objectstoreentryDescribe,
objectstoreentryList,
popCmdRoot,
profileCmdRoot,
profileCreate,
Expand Down
2 changes: 1 addition & 1 deletion pkg/app/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"github.com/fastly/cli/pkg/profile"
"github.com/fastly/cli/pkg/revision"
"github.com/fastly/cli/pkg/text"
"github.com/fastly/go-fastly/v7/fastly"
"github.com/fastly/go-fastly/v8/fastly"
"github.com/fastly/kingpin"
)

Expand Down
4 changes: 2 additions & 2 deletions pkg/app/run_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ dictionary-entry
domain
healthcheck
ip-list
kv-store
kv-store-entry
log-tail
logging
object-store
object-store-entry
pops
profile
purge
Expand Down
2 changes: 1 addition & 1 deletion pkg/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/fastly/cli/pkg/global"
"github.com/fastly/cli/pkg/manifest"
"github.com/fastly/cli/pkg/text"
"github.com/fastly/go-fastly/v7/fastly"
"github.com/fastly/go-fastly/v8/fastly"
"github.com/fastly/kingpin"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/cmd/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"github.com/fastly/cli/pkg/env"
fsterr "github.com/fastly/cli/pkg/errors"
"github.com/fastly/cli/pkg/text"
"github.com/fastly/go-fastly/v7/fastly"
"github.com/fastly/go-fastly/v8/fastly"
"github.com/fastly/kingpin"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/cmd/flags_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/fastly/cli/pkg/cmd"
"github.com/fastly/cli/pkg/mock"
"github.com/fastly/cli/pkg/testutil"
"github.com/fastly/go-fastly/v7/fastly"
"github.com/fastly/go-fastly/v8/fastly"
)

func TestOptionalServiceVersionParse(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/acl/acl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/fastly/cli/pkg/app"
"github.com/fastly/cli/pkg/mock"
"github.com/fastly/cli/pkg/testutil"
"github.com/fastly/go-fastly/v7/fastly"
"github.com/fastly/go-fastly/v8/fastly"
)

func TestACLCreate(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/acl/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/fastly/cli/pkg/global"
"github.com/fastly/cli/pkg/manifest"
"github.com/fastly/cli/pkg/text"
"github.com/fastly/go-fastly/v7/fastly"
"github.com/fastly/go-fastly/v8/fastly"
)

// NewCreateCommand returns a usable command registered under the parent.
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/acl/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/fastly/cli/pkg/global"
"github.com/fastly/cli/pkg/manifest"
"github.com/fastly/cli/pkg/text"
"github.com/fastly/go-fastly/v7/fastly"
"github.com/fastly/go-fastly/v8/fastly"
)

// NewDeleteCommand returns a usable command registered under the parent.
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/acl/describe.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
fsterr "github.com/fastly/cli/pkg/errors"
"github.com/fastly/cli/pkg/global"
"github.com/fastly/cli/pkg/manifest"
"github.com/fastly/go-fastly/v7/fastly"
"github.com/fastly/go-fastly/v8/fastly"
)

// NewDescribeCommand returns a usable command registered under the parent.
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/acl/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/fastly/cli/pkg/global"
"github.com/fastly/cli/pkg/manifest"
"github.com/fastly/cli/pkg/text"
"github.com/fastly/go-fastly/v7/fastly"
"github.com/fastly/go-fastly/v8/fastly"
)

// NewListCommand returns a usable command registered under the parent.
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/acl/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/fastly/cli/pkg/global"
"github.com/fastly/cli/pkg/manifest"
"github.com/fastly/cli/pkg/text"
"github.com/fastly/go-fastly/v7/fastly"
"github.com/fastly/go-fastly/v8/fastly"
)

// NewUpdateCommand returns a usable command registered under the parent.
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/aclentry/aclentry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/fastly/cli/pkg/app"
"github.com/fastly/cli/pkg/mock"
"github.com/fastly/cli/pkg/testutil"
"github.com/fastly/go-fastly/v7/fastly"
"github.com/fastly/go-fastly/v8/fastly"
)

func TestACLEntryCreate(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/aclentry/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/fastly/cli/pkg/global"
"github.com/fastly/cli/pkg/manifest"
"github.com/fastly/cli/pkg/text"
"github.com/fastly/go-fastly/v7/fastly"
"github.com/fastly/go-fastly/v8/fastly"
)

// NewCreateCommand returns a usable command registered under the parent.
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/aclentry/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/fastly/cli/pkg/global"
"github.com/fastly/cli/pkg/manifest"
"github.com/fastly/cli/pkg/text"
"github.com/fastly/go-fastly/v7/fastly"
"github.com/fastly/go-fastly/v8/fastly"
)

// NewDeleteCommand returns a usable command registered under the parent.
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/aclentry/describe.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
fsterr "github.com/fastly/cli/pkg/errors"
"github.com/fastly/cli/pkg/global"
"github.com/fastly/cli/pkg/manifest"
"github.com/fastly/go-fastly/v7/fastly"
"github.com/fastly/go-fastly/v8/fastly"
)

// NewDescribeCommand returns a usable command registered under the parent.
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/aclentry/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/fastly/cli/pkg/global"
"github.com/fastly/cli/pkg/manifest"
"github.com/fastly/cli/pkg/text"
"github.com/fastly/go-fastly/v7/fastly"
"github.com/fastly/go-fastly/v8/fastly"
)

// NewListCommand returns a usable command registered under the parent.
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/aclentry/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/fastly/cli/pkg/global"
"github.com/fastly/cli/pkg/manifest"
"github.com/fastly/cli/pkg/text"
"github.com/fastly/go-fastly/v7/fastly"
"github.com/fastly/go-fastly/v8/fastly"
)

// NewUpdateCommand returns a usable command registered under the parent.
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/authtoken/authtoken_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/fastly/cli/pkg/errors"
"github.com/fastly/cli/pkg/mock"
"github.com/fastly/cli/pkg/testutil"
"github.com/fastly/go-fastly/v7/fastly"
"github.com/fastly/go-fastly/v8/fastly"
)

func TestCreate(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/authtoken/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/fastly/cli/pkg/lookup"
"github.com/fastly/cli/pkg/manifest"
"github.com/fastly/cli/pkg/text"
"github.com/fastly/go-fastly/v7/fastly"
"github.com/fastly/go-fastly/v8/fastly"
"github.com/fastly/kingpin"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/authtoken/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/fastly/cli/pkg/lookup"
"github.com/fastly/cli/pkg/manifest"
"github.com/fastly/cli/pkg/text"
"github.com/fastly/go-fastly/v7/fastly"
"github.com/fastly/go-fastly/v8/fastly"
)

// NewDeleteCommand returns a usable command registered under the parent.
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/authtoken/describe.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/fastly/cli/pkg/global"
"github.com/fastly/cli/pkg/lookup"
"github.com/fastly/cli/pkg/manifest"
"github.com/fastly/go-fastly/v7/fastly"
"github.com/fastly/go-fastly/v8/fastly"
)

// NewDescribeCommand returns a usable command registered under the parent.
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/authtoken/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/fastly/cli/pkg/lookup"
"github.com/fastly/cli/pkg/manifest"
"github.com/fastly/cli/pkg/text"
"github.com/fastly/go-fastly/v7/fastly"
"github.com/fastly/go-fastly/v8/fastly"
)

// NewListCommand returns a usable command registered under the parent.
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/backend/backend_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
fsterr "github.com/fastly/cli/pkg/errors"
"github.com/fastly/cli/pkg/mock"
"github.com/fastly/cli/pkg/testutil"
"github.com/fastly/go-fastly/v7/fastly"
"github.com/fastly/go-fastly/v8/fastly"
)

func TestBackendCreate(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/backend/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/fastly/cli/pkg/global"
"github.com/fastly/cli/pkg/manifest"
"github.com/fastly/cli/pkg/text"
"github.com/fastly/go-fastly/v7/fastly"
"github.com/fastly/go-fastly/v8/fastly"
)

// CreateCommand calls the Fastly API to create backends.
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/backend/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/fastly/cli/pkg/global"
"github.com/fastly/cli/pkg/manifest"
"github.com/fastly/cli/pkg/text"
"github.com/fastly/go-fastly/v7/fastly"
"github.com/fastly/go-fastly/v8/fastly"
)

// DeleteCommand calls the Fastly API to delete backends.
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/backend/describe.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
fsterr "github.com/fastly/cli/pkg/errors"
"github.com/fastly/cli/pkg/global"
"github.com/fastly/cli/pkg/manifest"
"github.com/fastly/go-fastly/v7/fastly"
"github.com/fastly/go-fastly/v8/fastly"
)

// DescribeCommand calls the Fastly API to describe a backend.
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/backend/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/fastly/cli/pkg/global"
"github.com/fastly/cli/pkg/manifest"
"github.com/fastly/cli/pkg/text"
"github.com/fastly/go-fastly/v7/fastly"
"github.com/fastly/go-fastly/v8/fastly"
)

// ListCommand calls the Fastly API to list backends.
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/backend/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/fastly/cli/pkg/global"
"github.com/fastly/cli/pkg/manifest"
"github.com/fastly/cli/pkg/text"
"github.com/fastly/go-fastly/v7/fastly"
"github.com/fastly/go-fastly/v8/fastly"
)

// UpdateCommand calls the Fastly API to update backends.
Expand Down
Loading

0 comments on commit 92952d8

Please sign in to comment.