diff --git a/CHANGELOG.md b/CHANGELOG.md index db6e8beb1..514ae5ae1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ ### Breaking: +- breaking(ai-runtime-control): `key create` no longer accepts the `--user-id` flag, as it was removed from the API ([#1949](https://github.com/fastly/cli/pull/1949)) +- breaking(json): `--json` output for `ai-runtime-control usage-metrics list`, `ngwaf workspace list`, `ngwaf rule list` and `ngwaf workspace rule list` is now a bare array instead of an object with `data` and `meta` ([#1949](https://github.com/fastly/cli/pull/1949)) + ### Bug Fixes: - fix(ai-runtime-control): update AI Runtime Control command descriptions to reflect the latest API references ([#1939](https://github.com/fastly/cli/pull/1939)) @@ -11,6 +14,7 @@ ### Enhancements: ### Dependencies: +- build(deps): `github.com/fastly/go-fastly` from v17.8.0 to v18.0.0 ([#1949](https://github.com/fastly/cli/pull/1949)) - build(deps): `golang.org/x/term` from 0.46.0 to 0.47.0 ([#1944](https://github.com/fastly/cli/pull/1944)) - build(deps): `golang.org/x/crypto` from 0.57.0 to 0.58.0 ([#1944](https://github.com/fastly/cli/pull/1944)) - build(deps): `golang.org/x/mod` from 0.41.0 to 0.42.0 ([#1944](https://github.com/fastly/cli/pull/1944)) diff --git a/go.mod b/go.mod index 055680223..a0302baad 100644 --- a/go.mod +++ b/go.mod @@ -85,7 +85,7 @@ require ( require ( 4d63.com/optional v0.2.0 github.com/creack/pty v1.1.24 - github.com/fastly/go-fastly/v17 v17.8.0 + github.com/fastly/go-fastly/v18 v18.0.0 github.com/mholt/archives v0.1.5 github.com/mitchellh/go-ps v1.0.0 ) diff --git a/go.sum b/go.sum index a0c83f128..5cc3ca3cc 100644 --- a/go.sum +++ b/go.sum @@ -34,8 +34,8 @@ github.com/dsnet/compress v0.0.2-0.20230904184137-39efe44ab707/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-20240428194347-eebcea082ee0 h1:aYo8nnk3ojoQkP5iErif5Xxv0Mo0Ga/FR5+ffl/7+Nk= github.com/dustinkirkland/golang-petname v0.0.0-20240428194347-eebcea082ee0/go.mod h1:8AuBTZBRSFqEYBPYULd+NN474/zZBLP+6WeT5S9xlAc= -github.com/fastly/go-fastly/v17 v17.8.0 h1:KvwZDd+Pgf2JGCt7BtYzRJkUdlOSrHbCbcZIZoO1Ttg= -github.com/fastly/go-fastly/v17 v17.8.0/go.mod h1:ffln+YL+0T4nGgJG6wVhzi/z9O5TxI6tTDRwN0rDZc8= +github.com/fastly/go-fastly/v18 v18.0.0 h1:M0EYF2yjLQevJIIIYqOx6zGSVZT8C6O3STShJ1Hz1Hw= +github.com/fastly/go-fastly/v18 v18.0.0/go.mod h1:xjf9UnxLNKSGA92dVlR9fH+2fUt0QBv61dPr0kwFwyw= 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.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= diff --git a/pkg/api/interface.go b/pkg/api/interface.go index 107ddf707..b697adfda 100644 --- a/pkg/api/interface.go +++ b/pkg/api/interface.go @@ -5,7 +5,7 @@ import ( "crypto/ed25519" "net/http" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" ) // HTTPClient models a concrete http.Client. It's a consumer contract for some diff --git a/pkg/app/run.go b/pkg/app/run.go index 24ac969e7..50b758c42 100644 --- a/pkg/app/run.go +++ b/pkg/app/run.go @@ -16,7 +16,7 @@ import ( "github.com/hashicorp/cap/oidc" "github.com/skratchdot/open-golang/open" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/kingpin" diff --git a/pkg/app/run_test.go b/pkg/app/run_test.go index 3961a17f9..ae71c0e85 100644 --- a/pkg/app/run_test.go +++ b/pkg/app/run_test.go @@ -12,7 +12,7 @@ import ( "testing" "time" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/errors" diff --git a/pkg/argparser/cmd.go b/pkg/argparser/cmd.go index 62e403767..352eacab6 100644 --- a/pkg/argparser/cmd.go +++ b/pkg/argparser/cmd.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/kingpin" diff --git a/pkg/argparser/flags.go b/pkg/argparser/flags.go index 3e84d0e7a..d4f6673cb 100644 --- a/pkg/argparser/flags.go +++ b/pkg/argparser/flags.go @@ -13,7 +13,7 @@ import ( "strconv" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/kingpin" diff --git a/pkg/argparser/flags_test.go b/pkg/argparser/flags_test.go index 5032042e4..cdaa99af2 100644 --- a/pkg/argparser/flags_test.go +++ b/pkg/argparser/flags_test.go @@ -9,7 +9,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/manifest" diff --git a/pkg/commands/airuntimecontrol/key/create.go b/pkg/commands/airuntimecontrol/key/create.go index 1aa46b979..da6921af7 100644 --- a/pkg/commands/airuntimecontrol/key/create.go +++ b/pkg/commands/airuntimecontrol/key/create.go @@ -6,8 +6,8 @@ import ( "io" "time" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/airuntimecontrol/v1/key" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/airuntimecontrol/v1/key" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" @@ -24,7 +24,6 @@ type CreateCommand struct { name string model string provider string - userID string // Optional. expiresAt time.Time @@ -43,7 +42,6 @@ func NewCreateCommand(parent argparser.Registerer, g *global.Data) *CreateComman c.CmdClause.Flag("name", "Human-readable name for the virtual key").Required().StringVar(&c.name) c.CmdClause.Flag("model", "AI model identifier (e.g. \"claude-sonnet-4-20250514\")").Required().StringVar(&c.model) c.CmdClause.Flag("provider", "AI model provider name (e.g. \"Anthropic\")").Required().StringVar(&c.provider) - c.CmdClause.Flag("user-id", "ID of the user creating the key").Required().StringVar(&c.userID) // Optional. c.CmdClause.Flag("expires-at", "Expiration timestamp (RFC 3339 format)").HintOptions("2026-07-28T19:24:50+00:00").TimeVar(time.RFC3339, &c.expiresAt) @@ -62,7 +60,6 @@ func (c *CreateCommand) Exec(_ io.Reader, out io.Writer) error { Name: &c.name, Model: &c.model, Provider: &c.provider, - UserID: &c.userID, } if !c.expiresAt.IsZero() { input.ExpiresAt = &c.expiresAt diff --git a/pkg/commands/airuntimecontrol/key/delete.go b/pkg/commands/airuntimecontrol/key/delete.go index 9542532bc..f25174725 100644 --- a/pkg/commands/airuntimecontrol/key/delete.go +++ b/pkg/commands/airuntimecontrol/key/delete.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/airuntimecontrol/v1/key" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/airuntimecontrol/v1/key" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/airuntimecontrol/key/get.go b/pkg/commands/airuntimecontrol/key/get.go index 89a0835ec..b5dceedfe 100644 --- a/pkg/commands/airuntimecontrol/key/get.go +++ b/pkg/commands/airuntimecontrol/key/get.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/airuntimecontrol/v1/key" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/airuntimecontrol/v1/key" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/airuntimecontrol/key/key_test.go b/pkg/commands/airuntimecontrol/key/key_test.go index 63310c09d..5a498a706 100644 --- a/pkg/commands/airuntimecontrol/key/key_test.go +++ b/pkg/commands/airuntimecontrol/key/key_test.go @@ -11,7 +11,7 @@ import ( sub "github.com/fastly/cli/pkg/commands/airuntimecontrol/key" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/airuntimecontrol/v1/key" + "github.com/fastly/go-fastly/v18/fastly/airuntimecontrol/v1/key" ) const ( @@ -44,17 +44,17 @@ func TestKeyCreate(t *testing.T) { scenarios := []testutil.CLIScenario{ { Name: "validate missing --name flag", - Args: fmt.Sprintf("--model %s --provider %s --user-id %s", model, provider, userID), + Args: fmt.Sprintf("--model %s --provider %s", model, provider), WantError: "error parsing arguments: required flag --name not provided", }, { Name: "validate missing --model flag", - Args: fmt.Sprintf("--name %s --provider %s --user-id %s", virtualKey, provider, userID), + Args: fmt.Sprintf("--name %s --provider %s", virtualKey, provider), WantError: "error parsing arguments: required flag --model not provided", }, { Name: "validate API success", - Args: fmt.Sprintf("--name %s --model %s --provider %s --user-id %s", virtualKey, model, provider, userID), + Args: fmt.Sprintf("--name %s --model %s --provider %s", virtualKey, model, provider), Client: &http.Client{ Transport: &testutil.MockRoundTripper{ Response: &http.Response{ @@ -68,7 +68,7 @@ func TestKeyCreate(t *testing.T) { }, { Name: "validate optional --json flag", - Args: fmt.Sprintf("--name %s --model %s --provider %s --user-id %s --json", virtualKey, model, provider, userID), + Args: fmt.Sprintf("--name %s --model %s --provider %s --json", virtualKey, model, provider), Client: &http.Client{ Transport: &testutil.MockRoundTripper{ Response: &http.Response{ diff --git a/pkg/commands/airuntimecontrol/key/list.go b/pkg/commands/airuntimecontrol/key/list.go index d40ef625d..68d506a18 100644 --- a/pkg/commands/airuntimecontrol/key/list.go +++ b/pkg/commands/airuntimecontrol/key/list.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/airuntimecontrol/v1/key" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/airuntimecontrol/v1/key" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/airuntimecontrol/key/rotate.go b/pkg/commands/airuntimecontrol/key/rotate.go index e69af93ab..d64f3d878 100644 --- a/pkg/commands/airuntimecontrol/key/rotate.go +++ b/pkg/commands/airuntimecontrol/key/rotate.go @@ -6,8 +6,8 @@ import ( "io" "time" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/airuntimecontrol/v1/key" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/airuntimecontrol/v1/key" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/airuntimecontrol/key/update.go b/pkg/commands/airuntimecontrol/key/update.go index 00c8df745..aac30998f 100644 --- a/pkg/commands/airuntimecontrol/key/update.go +++ b/pkg/commands/airuntimecontrol/key/update.go @@ -6,8 +6,8 @@ import ( "io" "time" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/airuntimecontrol/v1/key" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/airuntimecontrol/v1/key" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/airuntimecontrol/provider/list.go b/pkg/commands/airuntimecontrol/provider/list.go index b52414803..b942f72af 100644 --- a/pkg/commands/airuntimecontrol/provider/list.go +++ b/pkg/commands/airuntimecontrol/provider/list.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/airuntimecontrol/v1/provider" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/airuntimecontrol/v1/provider" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/airuntimecontrol/provider/listmodels.go b/pkg/commands/airuntimecontrol/provider/listmodels.go index cb5690973..3cb41d9e1 100644 --- a/pkg/commands/airuntimecontrol/provider/listmodels.go +++ b/pkg/commands/airuntimecontrol/provider/listmodels.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/airuntimecontrol/v1/provider" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/airuntimecontrol/v1/provider" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/airuntimecontrol/provider/provider_test.go b/pkg/commands/airuntimecontrol/provider/provider_test.go index db9f7924b..442629564 100644 --- a/pkg/commands/airuntimecontrol/provider/provider_test.go +++ b/pkg/commands/airuntimecontrol/provider/provider_test.go @@ -11,7 +11,7 @@ import ( sub "github.com/fastly/cli/pkg/commands/airuntimecontrol/provider" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/airuntimecontrol/v1/provider" + "github.com/fastly/go-fastly/v18/fastly/airuntimecontrol/v1/provider" ) func TestProviderList(t *testing.T) { diff --git a/pkg/commands/airuntimecontrol/providerconnection/create.go b/pkg/commands/airuntimecontrol/providerconnection/create.go index 294690511..29db90f77 100644 --- a/pkg/commands/airuntimecontrol/providerconnection/create.go +++ b/pkg/commands/airuntimecontrol/providerconnection/create.go @@ -7,8 +7,8 @@ import ( "github.com/fastly/kingpin" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/airuntimecontrol/v1/providerconnection" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/airuntimecontrol/v1/providerconnection" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/airuntimecontrol/providerconnection/delete.go b/pkg/commands/airuntimecontrol/providerconnection/delete.go index de68b89ff..1e067f4d4 100644 --- a/pkg/commands/airuntimecontrol/providerconnection/delete.go +++ b/pkg/commands/airuntimecontrol/providerconnection/delete.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/airuntimecontrol/v1/providerconnection" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/airuntimecontrol/v1/providerconnection" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/airuntimecontrol/providerconnection/get.go b/pkg/commands/airuntimecontrol/providerconnection/get.go index 7f230cbd5..fb75e5baa 100644 --- a/pkg/commands/airuntimecontrol/providerconnection/get.go +++ b/pkg/commands/airuntimecontrol/providerconnection/get.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/airuntimecontrol/v1/providerconnection" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/airuntimecontrol/v1/providerconnection" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/airuntimecontrol/providerconnection/list.go b/pkg/commands/airuntimecontrol/providerconnection/list.go index cc70bcad6..64475029b 100644 --- a/pkg/commands/airuntimecontrol/providerconnection/list.go +++ b/pkg/commands/airuntimecontrol/providerconnection/list.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/airuntimecontrol/v1/providerconnection" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/airuntimecontrol/v1/providerconnection" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/airuntimecontrol/providerconnection/providerconnection_test.go b/pkg/commands/airuntimecontrol/providerconnection/providerconnection_test.go index cab865c8d..7a143b8ff 100644 --- a/pkg/commands/airuntimecontrol/providerconnection/providerconnection_test.go +++ b/pkg/commands/airuntimecontrol/providerconnection/providerconnection_test.go @@ -11,7 +11,7 @@ import ( sub "github.com/fastly/cli/pkg/commands/airuntimecontrol/providerconnection" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/airuntimecontrol/v1/providerconnection" + "github.com/fastly/go-fastly/v18/fastly/airuntimecontrol/v1/providerconnection" ) const ( diff --git a/pkg/commands/airuntimecontrol/providerconnection/update.go b/pkg/commands/airuntimecontrol/providerconnection/update.go index fa6a6ff8f..03cb547ce 100644 --- a/pkg/commands/airuntimecontrol/providerconnection/update.go +++ b/pkg/commands/airuntimecontrol/providerconnection/update.go @@ -7,8 +7,8 @@ import ( "github.com/fastly/kingpin" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/airuntimecontrol/v1/providerconnection" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/airuntimecontrol/v1/providerconnection" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/airuntimecontrol/session/list.go b/pkg/commands/airuntimecontrol/session/list.go index b1b73ffb8..da4318477 100644 --- a/pkg/commands/airuntimecontrol/session/list.go +++ b/pkg/commands/airuntimecontrol/session/list.go @@ -6,8 +6,8 @@ import ( "io" "time" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/airuntimecontrol/v1/session" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/airuntimecontrol/v1/session" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/airuntimecontrol/session/session_test.go b/pkg/commands/airuntimecontrol/session/session_test.go index 397238f41..ef52f470d 100644 --- a/pkg/commands/airuntimecontrol/session/session_test.go +++ b/pkg/commands/airuntimecontrol/session/session_test.go @@ -10,7 +10,7 @@ import ( sub "github.com/fastly/cli/pkg/commands/airuntimecontrol/session" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/airuntimecontrol/v1/session" + "github.com/fastly/go-fastly/v18/fastly/airuntimecontrol/v1/session" ) func TestSessionList(t *testing.T) { diff --git a/pkg/commands/airuntimecontrol/usagemetrics/export.go b/pkg/commands/airuntimecontrol/usagemetrics/export.go index e2cc0c15f..0bec30b85 100644 --- a/pkg/commands/airuntimecontrol/usagemetrics/export.go +++ b/pkg/commands/airuntimecontrol/usagemetrics/export.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/airuntimecontrol/v1/usagemetrics" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/airuntimecontrol/v1/usagemetrics" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/airuntimecontrol/usagemetrics/flags.go b/pkg/commands/airuntimecontrol/usagemetrics/flags.go index 0b97e5be7..25a2f2c5d 100644 --- a/pkg/commands/airuntimecontrol/usagemetrics/flags.go +++ b/pkg/commands/airuntimecontrol/usagemetrics/flags.go @@ -3,7 +3,7 @@ package usagemetrics import ( "time" - "github.com/fastly/go-fastly/v17/fastly/airuntimecontrol/v1/usagemetrics" + "github.com/fastly/go-fastly/v18/fastly/airuntimecontrol/v1/usagemetrics" "github.com/fastly/cli/pkg/argparser" ) diff --git a/pkg/commands/airuntimecontrol/usagemetrics/list.go b/pkg/commands/airuntimecontrol/usagemetrics/list.go index eb61dbb24..874f01199 100644 --- a/pkg/commands/airuntimecontrol/usagemetrics/list.go +++ b/pkg/commands/airuntimecontrol/usagemetrics/list.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/airuntimecontrol/v1/usagemetrics" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/airuntimecontrol/v1/usagemetrics" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" @@ -61,6 +61,6 @@ func (c *ListCommand) Exec(_ io.Reader, out io.Writer) error { return err } - text.PrintUsageMetricsTbl(out, data.Data) + text.PrintUsageMetricsTbl(out, data) return nil } diff --git a/pkg/commands/airuntimecontrol/usagemetrics/usagemetrics_test.go b/pkg/commands/airuntimecontrol/usagemetrics/usagemetrics_test.go index fd04f92f5..9fd576335 100644 --- a/pkg/commands/airuntimecontrol/usagemetrics/usagemetrics_test.go +++ b/pkg/commands/airuntimecontrol/usagemetrics/usagemetrics_test.go @@ -10,7 +10,7 @@ import ( sub "github.com/fastly/cli/pkg/commands/airuntimecontrol/usagemetrics" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/airuntimecontrol/v1/usagemetrics" + "github.com/fastly/go-fastly/v18/fastly/airuntimecontrol/v1/usagemetrics" ) func TestUsageMetricsList(t *testing.T) { @@ -56,7 +56,7 @@ func TestUsageMetricsList(t *testing.T) { }, }, }, - WantOutput: fstfmt.EncodeJSON(metrics), + WantOutput: fstfmt.EncodeJSON(metrics.Data), }, } diff --git a/pkg/commands/apisecurity/discoveredoperations/discoveredoperations_test.go b/pkg/commands/apisecurity/discoveredoperations/discoveredoperations_test.go index e9a5c2f7c..bdf42af3b 100644 --- a/pkg/commands/apisecurity/discoveredoperations/discoveredoperations_test.go +++ b/pkg/commands/apisecurity/discoveredoperations/discoveredoperations_test.go @@ -13,7 +13,7 @@ import ( apisecurity "github.com/fastly/cli/pkg/commands/apisecurity" root "github.com/fastly/cli/pkg/commands/apisecurity/discoveredoperations" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/apisecurity/operations" + "github.com/fastly/go-fastly/v18/fastly/apisecurity/operations" ) const ( diff --git a/pkg/commands/apisecurity/discoveredoperations/list.go b/pkg/commands/apisecurity/discoveredoperations/list.go index eb39f5026..949528b10 100644 --- a/pkg/commands/apisecurity/discoveredoperations/list.go +++ b/pkg/commands/apisecurity/discoveredoperations/list.go @@ -7,8 +7,8 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/apisecurity/operations" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/apisecurity/operations" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/apisecurity/discoveredoperations/update.go b/pkg/commands/apisecurity/discoveredoperations/update.go index 47348fa23..d8dcd981b 100644 --- a/pkg/commands/apisecurity/discoveredoperations/update.go +++ b/pkg/commands/apisecurity/discoveredoperations/update.go @@ -10,8 +10,8 @@ import ( "path/filepath" "strings" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/apisecurity/operations" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/apisecurity/operations" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/apisecurity/operations/addtags.go b/pkg/commands/apisecurity/operations/addtags.go index 46ae7eb00..69fb12440 100644 --- a/pkg/commands/apisecurity/operations/addtags.go +++ b/pkg/commands/apisecurity/operations/addtags.go @@ -9,8 +9,8 @@ import ( "os" "path/filepath" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/apisecurity/operations" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/apisecurity/operations" "github.com/fastly/kingpin" diff --git a/pkg/commands/apisecurity/operations/create.go b/pkg/commands/apisecurity/operations/create.go index 6696c32df..81f1d992d 100644 --- a/pkg/commands/apisecurity/operations/create.go +++ b/pkg/commands/apisecurity/operations/create.go @@ -10,8 +10,8 @@ import ( "path/filepath" "strings" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/apisecurity/operations" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/apisecurity/operations" "github.com/fastly/kingpin" diff --git a/pkg/commands/apisecurity/operations/delete.go b/pkg/commands/apisecurity/operations/delete.go index 1e5380037..7da02613c 100644 --- a/pkg/commands/apisecurity/operations/delete.go +++ b/pkg/commands/apisecurity/operations/delete.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/apisecurity/operations" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/apisecurity/operations" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/apisecurity/operations/describe.go b/pkg/commands/apisecurity/operations/describe.go index bc4dbd9a2..da3d30cd0 100644 --- a/pkg/commands/apisecurity/operations/describe.go +++ b/pkg/commands/apisecurity/operations/describe.go @@ -7,8 +7,8 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/apisecurity/operations" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/apisecurity/operations" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/apisecurity/operations/list.go b/pkg/commands/apisecurity/operations/list.go index f9affd560..f036d9302 100644 --- a/pkg/commands/apisecurity/operations/list.go +++ b/pkg/commands/apisecurity/operations/list.go @@ -7,8 +7,8 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/apisecurity/operations" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/apisecurity/operations" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/apisecurity/operations/operations_test.go b/pkg/commands/apisecurity/operations/operations_test.go index d5c17d49f..31b263424 100644 --- a/pkg/commands/apisecurity/operations/operations_test.go +++ b/pkg/commands/apisecurity/operations/operations_test.go @@ -8,7 +8,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly/apisecurity/operations" + "github.com/fastly/go-fastly/v18/fastly/apisecurity/operations" apisecurity "github.com/fastly/cli/pkg/commands/apisecurity" root "github.com/fastly/cli/pkg/commands/apisecurity/operations" diff --git a/pkg/commands/apisecurity/operations/update.go b/pkg/commands/apisecurity/operations/update.go index 8ec93d042..869a1dd65 100644 --- a/pkg/commands/apisecurity/operations/update.go +++ b/pkg/commands/apisecurity/operations/update.go @@ -7,8 +7,8 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/apisecurity/operations" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/apisecurity/operations" "github.com/fastly/kingpin" diff --git a/pkg/commands/apisecurity/tags/create.go b/pkg/commands/apisecurity/tags/create.go index 19dad5be6..9fabd0b04 100644 --- a/pkg/commands/apisecurity/tags/create.go +++ b/pkg/commands/apisecurity/tags/create.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/apisecurity/operations" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/apisecurity/operations" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/apisecurity/tags/delete.go b/pkg/commands/apisecurity/tags/delete.go index 698435a13..d94cea096 100644 --- a/pkg/commands/apisecurity/tags/delete.go +++ b/pkg/commands/apisecurity/tags/delete.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/apisecurity/operations" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/apisecurity/operations" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/apisecurity/tags/get.go b/pkg/commands/apisecurity/tags/get.go index a15c27371..23497e940 100644 --- a/pkg/commands/apisecurity/tags/get.go +++ b/pkg/commands/apisecurity/tags/get.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/apisecurity/operations" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/apisecurity/operations" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/apisecurity/tags/list.go b/pkg/commands/apisecurity/tags/list.go index 475dd4921..321dfdc53 100644 --- a/pkg/commands/apisecurity/tags/list.go +++ b/pkg/commands/apisecurity/tags/list.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/apisecurity/operations" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/apisecurity/operations" ) // ListCommand calls the Fastly API to list all operation tags. diff --git a/pkg/commands/apisecurity/tags/tags_test.go b/pkg/commands/apisecurity/tags/tags_test.go index c64186055..e2e180cbf 100644 --- a/pkg/commands/apisecurity/tags/tags_test.go +++ b/pkg/commands/apisecurity/tags/tags_test.go @@ -12,7 +12,7 @@ import ( sub "github.com/fastly/cli/pkg/commands/apisecurity/tags" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/apisecurity/operations" + "github.com/fastly/go-fastly/v18/fastly/apisecurity/operations" ) const ( diff --git a/pkg/commands/apisecurity/tags/update.go b/pkg/commands/apisecurity/tags/update.go index 2f11b91ed..10d8dc640 100644 --- a/pkg/commands/apisecurity/tags/update.go +++ b/pkg/commands/apisecurity/tags/update.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/apisecurity/operations" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/apisecurity/operations" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/auditlog/eventmapping/create.go b/pkg/commands/auditlog/eventmapping/create.go index e01e6e6bf..ffcfad531 100644 --- a/pkg/commands/auditlog/eventmapping/create.go +++ b/pkg/commands/auditlog/eventmapping/create.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/notifications/v1/eventmappings" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/notifications/v1/eventmappings" "github.com/fastly/kingpin" diff --git a/pkg/commands/auditlog/eventmapping/delete.go b/pkg/commands/auditlog/eventmapping/delete.go index 47553d832..4491ec995 100644 --- a/pkg/commands/auditlog/eventmapping/delete.go +++ b/pkg/commands/auditlog/eventmapping/delete.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/notifications/v1/eventmappings" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/notifications/v1/eventmappings" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/auditlog/eventmapping/describe.go b/pkg/commands/auditlog/eventmapping/describe.go index 5b5648548..9af3ba63a 100644 --- a/pkg/commands/auditlog/eventmapping/describe.go +++ b/pkg/commands/auditlog/eventmapping/describe.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/notifications/v1/eventmappings" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/notifications/v1/eventmappings" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/auditlog/eventmapping/eventmapping_test.go b/pkg/commands/auditlog/eventmapping/eventmapping_test.go index 12f3d6a15..c2d248310 100644 --- a/pkg/commands/auditlog/eventmapping/eventmapping_test.go +++ b/pkg/commands/auditlog/eventmapping/eventmapping_test.go @@ -11,9 +11,9 @@ import ( sub "github.com/fastly/cli/pkg/commands/auditlog/eventmapping" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/notifications/v1/eventmappings" - "github.com/fastly/go-fastly/v17/fastly/notifications/v1/eventmappings/eventtypes" - "github.com/fastly/go-fastly/v17/fastly/notifications/v1/eventmappings/scopetypes" + "github.com/fastly/go-fastly/v18/fastly/notifications/v1/eventmappings" + "github.com/fastly/go-fastly/v18/fastly/notifications/v1/eventmappings/eventtypes" + "github.com/fastly/go-fastly/v18/fastly/notifications/v1/eventmappings/scopetypes" ) const ( diff --git a/pkg/commands/auditlog/eventmapping/list.go b/pkg/commands/auditlog/eventmapping/list.go index 3b55ca634..41ffc3157 100644 --- a/pkg/commands/auditlog/eventmapping/list.go +++ b/pkg/commands/auditlog/eventmapping/list.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/notifications/v1/eventmappings" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/notifications/v1/eventmappings" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/auditlog/eventmapping/listeventtypes.go b/pkg/commands/auditlog/eventmapping/listeventtypes.go index 004691340..1a58e4542 100644 --- a/pkg/commands/auditlog/eventmapping/listeventtypes.go +++ b/pkg/commands/auditlog/eventmapping/listeventtypes.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/notifications/v1/eventmappings/eventtypes" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/notifications/v1/eventmappings/eventtypes" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/auditlog/eventmapping/listscopetypes.go b/pkg/commands/auditlog/eventmapping/listscopetypes.go index b3ff02b37..0d71180c9 100644 --- a/pkg/commands/auditlog/eventmapping/listscopetypes.go +++ b/pkg/commands/auditlog/eventmapping/listscopetypes.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/notifications/v1/eventmappings/scopetypes" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/notifications/v1/eventmappings/scopetypes" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/auditlog/eventmapping/update.go b/pkg/commands/auditlog/eventmapping/update.go index 73324ad03..27d1fd2c0 100644 --- a/pkg/commands/auditlog/eventmapping/update.go +++ b/pkg/commands/auditlog/eventmapping/update.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/notifications/v1/eventmappings" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/notifications/v1/eventmappings" "github.com/fastly/kingpin" diff --git a/pkg/commands/auth/metadata.go b/pkg/commands/auth/metadata.go index dfda24ea5..5ff0234e9 100644 --- a/pkg/commands/auth/metadata.go +++ b/pkg/commands/auth/metadata.go @@ -5,7 +5,7 @@ import ( "fmt" "time" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/api" "github.com/fastly/cli/pkg/config" diff --git a/pkg/commands/auth/metadata_test.go b/pkg/commands/auth/metadata_test.go index 0065eae0a..5487533cb 100644 --- a/pkg/commands/auth/metadata_test.go +++ b/pkg/commands/auth/metadata_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" authcmd "github.com/fastly/cli/pkg/commands/auth" "github.com/fastly/cli/pkg/config" diff --git a/pkg/commands/auth/revoke.go b/pkg/commands/auth/revoke.go index 57e9cfacb..4af60d9a6 100644 --- a/pkg/commands/auth/revoke.go +++ b/pkg/commands/auth/revoke.go @@ -11,7 +11,7 @@ import ( "path/filepath" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/api" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/auth/revoke_test.go b/pkg/commands/auth/revoke_test.go index fd4e10250..5f89e3a4b 100644 --- a/pkg/commands/auth/revoke_test.go +++ b/pkg/commands/auth/revoke_test.go @@ -9,7 +9,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/api" "github.com/fastly/cli/pkg/config" diff --git a/pkg/commands/auth/sso_test.go b/pkg/commands/auth/sso_test.go index 5231f85c9..9ddbead3b 100644 --- a/pkg/commands/auth/sso_test.go +++ b/pkg/commands/auth/sso_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/auth" authcmd "github.com/fastly/cli/pkg/commands/auth" diff --git a/pkg/commands/authtoken/authtoken_test.go b/pkg/commands/authtoken/authtoken_test.go index 76ffd00ef..dbcac6fdf 100644 --- a/pkg/commands/authtoken/authtoken_test.go +++ b/pkg/commands/authtoken/authtoken_test.go @@ -5,7 +5,7 @@ import ( "fmt" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/authtoken" "github.com/fastly/cli/pkg/mock" diff --git a/pkg/commands/authtoken/create.go b/pkg/commands/authtoken/create.go index c5f2858f3..1533beb83 100644 --- a/pkg/commands/authtoken/create.go +++ b/pkg/commands/authtoken/create.go @@ -6,7 +6,7 @@ import ( "strings" "time" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/kingpin" diff --git a/pkg/commands/authtoken/delete.go b/pkg/commands/authtoken/delete.go index 455e2d726..8b5239072 100644 --- a/pkg/commands/authtoken/delete.go +++ b/pkg/commands/authtoken/delete.go @@ -8,7 +8,7 @@ import ( "os" "path/filepath" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/authtoken/describe.go b/pkg/commands/authtoken/describe.go index 390980103..62565a5e0 100644 --- a/pkg/commands/authtoken/describe.go +++ b/pkg/commands/authtoken/describe.go @@ -6,7 +6,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/authtoken/list.go b/pkg/commands/authtoken/list.go index 58e368746..1e2be443a 100644 --- a/pkg/commands/authtoken/list.go +++ b/pkg/commands/authtoken/list.go @@ -6,7 +6,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/compute/compute_mocks_test.go b/pkg/commands/compute/compute_mocks_test.go index c7ece735b..cf12349b9 100644 --- a/pkg/commands/compute/compute_mocks_test.go +++ b/pkg/commands/compute/compute_mocks_test.go @@ -7,7 +7,7 @@ package compute_test import ( "context" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/testutil" ) diff --git a/pkg/commands/compute/computeacl/computeacl_test.go b/pkg/commands/compute/computeacl/computeacl_test.go index f1604137e..c3befffd1 100644 --- a/pkg/commands/compute/computeacl/computeacl_test.go +++ b/pkg/commands/compute/computeacl/computeacl_test.go @@ -12,7 +12,7 @@ import ( sub "github.com/fastly/cli/pkg/commands/compute/computeacl" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/computeacls" + "github.com/fastly/go-fastly/v18/fastly/computeacls" ) func TestComputeACLCreate(t *testing.T) { diff --git a/pkg/commands/compute/computeacl/create.go b/pkg/commands/compute/computeacl/create.go index a6849781e..b23152a1d 100644 --- a/pkg/commands/compute/computeacl/create.go +++ b/pkg/commands/compute/computeacl/create.go @@ -5,9 +5,9 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" - "github.com/fastly/go-fastly/v17/fastly/computeacls" + "github.com/fastly/go-fastly/v18/fastly/computeacls" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/compute/computeacl/delete.go b/pkg/commands/compute/computeacl/delete.go index c34268316..6ba396edd 100644 --- a/pkg/commands/compute/computeacl/delete.go +++ b/pkg/commands/compute/computeacl/delete.go @@ -5,9 +5,9 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" - "github.com/fastly/go-fastly/v17/fastly/computeacls" + "github.com/fastly/go-fastly/v18/fastly/computeacls" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/compute/computeacl/describe.go b/pkg/commands/compute/computeacl/describe.go index 659b4d3f8..792e2481f 100644 --- a/pkg/commands/compute/computeacl/describe.go +++ b/pkg/commands/compute/computeacl/describe.go @@ -5,9 +5,9 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" - "github.com/fastly/go-fastly/v17/fastly/computeacls" + "github.com/fastly/go-fastly/v18/fastly/computeacls" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/compute/computeacl/listacls.go b/pkg/commands/compute/computeacl/listacls.go index e60425f5c..6f907dc4c 100644 --- a/pkg/commands/compute/computeacl/listacls.go +++ b/pkg/commands/compute/computeacl/listacls.go @@ -9,9 +9,9 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" - "github.com/fastly/go-fastly/v17/fastly/computeacls" + "github.com/fastly/go-fastly/v18/fastly/computeacls" ) // ListCommand calls the Fastly API to list all compute ACLs. diff --git a/pkg/commands/compute/computeacl/listentries.go b/pkg/commands/compute/computeacl/listentries.go index 1d5ef1229..7def46575 100644 --- a/pkg/commands/compute/computeacl/listentries.go +++ b/pkg/commands/compute/computeacl/listentries.go @@ -5,9 +5,9 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" - "github.com/fastly/go-fastly/v17/fastly/computeacls" + "github.com/fastly/go-fastly/v18/fastly/computeacls" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/compute/computeacl/lookup.go b/pkg/commands/compute/computeacl/lookup.go index 936352a2b..53c08fa9e 100644 --- a/pkg/commands/compute/computeacl/lookup.go +++ b/pkg/commands/compute/computeacl/lookup.go @@ -5,9 +5,9 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" - "github.com/fastly/go-fastly/v17/fastly/computeacls" + "github.com/fastly/go-fastly/v18/fastly/computeacls" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/compute/computeacl/update.go b/pkg/commands/compute/computeacl/update.go index 5a2bcb239..81d894aed 100644 --- a/pkg/commands/compute/computeacl/update.go +++ b/pkg/commands/compute/computeacl/update.go @@ -7,9 +7,9 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" - "github.com/fastly/go-fastly/v17/fastly/computeacls" + "github.com/fastly/go-fastly/v18/fastly/computeacls" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/compute/deploy.go b/pkg/commands/compute/deploy.go index 6cc86eacf..6e18a1e1f 100644 --- a/pkg/commands/compute/deploy.go +++ b/pkg/commands/compute/deploy.go @@ -16,7 +16,7 @@ import ( "github.com/kennygrant/sanitize" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/api" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/compute/deploy_test.go b/pkg/commands/compute/deploy_test.go index 7d9c2d1bc..5b0c3b17b 100644 --- a/pkg/commands/compute/deploy_test.go +++ b/pkg/commands/compute/deploy_test.go @@ -11,7 +11,7 @@ import ( "testing" "time" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/commands/compute" diff --git a/pkg/commands/compute/init.go b/pkg/commands/compute/init.go index 2fa45790e..87ae92d79 100644 --- a/pkg/commands/compute/init.go +++ b/pkg/commands/compute/init.go @@ -19,7 +19,7 @@ import ( cp "github.com/otiai10/copy" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/debug" diff --git a/pkg/commands/compute/init_test.go b/pkg/commands/compute/init_test.go index 83c8d6576..25f46f884 100644 --- a/pkg/commands/compute/init_test.go +++ b/pkg/commands/compute/init_test.go @@ -13,7 +13,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/compute/setup/backend.go b/pkg/commands/compute/setup/backend.go index ac782ec66..219c63992 100644 --- a/pkg/commands/compute/setup/backend.go +++ b/pkg/commands/compute/setup/backend.go @@ -7,7 +7,7 @@ import ( "net" "strconv" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/api" "github.com/fastly/cli/pkg/commands/service/backend" diff --git a/pkg/commands/compute/setup/config_store.go b/pkg/commands/compute/setup/config_store.go index e6c665d86..649cff59e 100644 --- a/pkg/commands/compute/setup/config_store.go +++ b/pkg/commands/compute/setup/config_store.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/api" "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/compute/setup/domain.go b/pkg/commands/compute/setup/domain.go index a90c3c7af..8050834f3 100644 --- a/pkg/commands/compute/setup/domain.go +++ b/pkg/commands/compute/setup/domain.go @@ -10,7 +10,7 @@ import ( petname "github.com/dustinkirkland/golang-petname" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/api" "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/compute/setup/kv_store.go b/pkg/commands/compute/setup/kv_store.go index 21c23af3d..7cac04315 100644 --- a/pkg/commands/compute/setup/kv_store.go +++ b/pkg/commands/compute/setup/kv_store.go @@ -8,7 +8,7 @@ import ( "os" "path/filepath" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/api" "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/compute/setup/products.go b/pkg/commands/compute/setup/products.go index 821227ba2..d7fa68cd7 100644 --- a/pkg/commands/compute/setup/products.go +++ b/pkg/commands/compute/setup/products.go @@ -12,18 +12,18 @@ import ( fsterrors "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/manifest" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/products/apidiscovery" - "github.com/fastly/go-fastly/v17/fastly/products/botmanagement" - "github.com/fastly/go-fastly/v17/fastly/products/brotlicompression" - "github.com/fastly/go-fastly/v17/fastly/products/ddosprotection" - "github.com/fastly/go-fastly/v17/fastly/products/domaininspector" - "github.com/fastly/go-fastly/v17/fastly/products/fanout" - "github.com/fastly/go-fastly/v17/fastly/products/imageoptimizer" - "github.com/fastly/go-fastly/v17/fastly/products/logexplorerinsights" - "github.com/fastly/go-fastly/v17/fastly/products/ngwaf" - "github.com/fastly/go-fastly/v17/fastly/products/origininspector" - "github.com/fastly/go-fastly/v17/fastly/products/websockets" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/products/apidiscovery" + "github.com/fastly/go-fastly/v18/fastly/products/botmanagement" + "github.com/fastly/go-fastly/v18/fastly/products/brotlicompression" + "github.com/fastly/go-fastly/v18/fastly/products/ddosprotection" + "github.com/fastly/go-fastly/v18/fastly/products/domaininspector" + "github.com/fastly/go-fastly/v18/fastly/products/fanout" + "github.com/fastly/go-fastly/v18/fastly/products/imageoptimizer" + "github.com/fastly/go-fastly/v18/fastly/products/logexplorerinsights" + "github.com/fastly/go-fastly/v18/fastly/products/ngwaf" + "github.com/fastly/go-fastly/v18/fastly/products/origininspector" + "github.com/fastly/go-fastly/v18/fastly/products/websockets" ) // Products represents the service state related to Products defined diff --git a/pkg/commands/compute/setup/secret_store.go b/pkg/commands/compute/setup/secret_store.go index dcbfdf54d..819fed2f8 100644 --- a/pkg/commands/compute/setup/secret_store.go +++ b/pkg/commands/compute/setup/secret_store.go @@ -6,7 +6,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/api" fsterrors "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/compute/update.go b/pkg/commands/compute/update.go index 32dad6d4c..2ade95f56 100644 --- a/pkg/commands/compute/update.go +++ b/pkg/commands/compute/update.go @@ -8,7 +8,7 @@ import ( "github.com/kennygrant/sanitize" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/configstore/configstore_test.go b/pkg/commands/configstore/configstore_test.go index 3c625829b..2b78ec08f 100644 --- a/pkg/commands/configstore/configstore_test.go +++ b/pkg/commands/configstore/configstore_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/configstore" fstfmt "github.com/fastly/cli/pkg/fmt" diff --git a/pkg/commands/configstore/create.go b/pkg/commands/configstore/create.go index 914898164..2409fc044 100644 --- a/pkg/commands/configstore/create.go +++ b/pkg/commands/configstore/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/configstore/delete.go b/pkg/commands/configstore/delete.go index 38249f44e..dc9b7e7b0 100644 --- a/pkg/commands/configstore/delete.go +++ b/pkg/commands/configstore/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/configstore/describe.go b/pkg/commands/configstore/describe.go index 0334c4bcf..5b43fb204 100644 --- a/pkg/commands/configstore/describe.go +++ b/pkg/commands/configstore/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/configstore/helper_test.go b/pkg/commands/configstore/helper_test.go index ba15b26c8..39cd8cd45 100644 --- a/pkg/commands/configstore/helper_test.go +++ b/pkg/commands/configstore/helper_test.go @@ -4,7 +4,7 @@ import ( "bytes" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" ) func fmtStore(cs *fastly.ConfigStore, csm *fastly.ConfigStoreMetadata) string { diff --git a/pkg/commands/configstore/list.go b/pkg/commands/configstore/list.go index ecf70c356..564a7a8ea 100644 --- a/pkg/commands/configstore/list.go +++ b/pkg/commands/configstore/list.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/configstore/list_services.go b/pkg/commands/configstore/list_services.go index 0c95041c0..045e86b1b 100644 --- a/pkg/commands/configstore/list_services.go +++ b/pkg/commands/configstore/list_services.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/configstore/update.go b/pkg/commands/configstore/update.go index 8b2b495cb..5b18cd807 100644 --- a/pkg/commands/configstore/update.go +++ b/pkg/commands/configstore/update.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/configstoreentry/configstoreentry_test.go b/pkg/commands/configstoreentry/configstoreentry_test.go index 282315ffd..295cd37b1 100644 --- a/pkg/commands/configstoreentry/configstoreentry_test.go +++ b/pkg/commands/configstoreentry/configstoreentry_test.go @@ -8,7 +8,7 @@ import ( "testing" "time" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/configstoreentry" fstfmt "github.com/fastly/cli/pkg/fmt" diff --git a/pkg/commands/configstoreentry/create.go b/pkg/commands/configstoreentry/create.go index e83fd17fb..9bc032249 100644 --- a/pkg/commands/configstoreentry/create.go +++ b/pkg/commands/configstoreentry/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/configstoreentry/delete.go b/pkg/commands/configstoreentry/delete.go index 71c560c4f..cedc6d61e 100644 --- a/pkg/commands/configstoreentry/delete.go +++ b/pkg/commands/configstoreentry/delete.go @@ -7,7 +7,7 @@ import ( "strings" "sync" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/configstoreentry/describe.go b/pkg/commands/configstoreentry/describe.go index b185caa93..6e2043c38 100644 --- a/pkg/commands/configstoreentry/describe.go +++ b/pkg/commands/configstoreentry/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/configstoreentry/list.go b/pkg/commands/configstoreentry/list.go index fd451ed4c..3db11979e 100644 --- a/pkg/commands/configstoreentry/list.go +++ b/pkg/commands/configstoreentry/list.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/configstoreentry/update.go b/pkg/commands/configstoreentry/update.go index 2f071b8bc..c691fb260 100644 --- a/pkg/commands/configstoreentry/update.go +++ b/pkg/commands/configstoreentry/update.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/dashboard/create.go b/pkg/commands/dashboard/create.go index d26ffba6a..9d6dd2a7e 100644 --- a/pkg/commands/dashboard/create.go +++ b/pkg/commands/dashboard/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/dashboard/dashboard_test.go b/pkg/commands/dashboard/dashboard_test.go index 44300f1a6..972544e7c 100644 --- a/pkg/commands/dashboard/dashboard_test.go +++ b/pkg/commands/dashboard/dashboard_test.go @@ -4,7 +4,7 @@ import ( "context" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/dashboard" "github.com/fastly/cli/pkg/mock" diff --git a/pkg/commands/dashboard/delete.go b/pkg/commands/dashboard/delete.go index 17f9ef780..6d40dc16a 100644 --- a/pkg/commands/dashboard/delete.go +++ b/pkg/commands/dashboard/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/dashboard/describe.go b/pkg/commands/dashboard/describe.go index b0d5f63a4..26194d35d 100644 --- a/pkg/commands/dashboard/describe.go +++ b/pkg/commands/dashboard/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/dashboard/printer" diff --git a/pkg/commands/dashboard/item/create.go b/pkg/commands/dashboard/item/create.go index a96f9c557..6658bec1a 100644 --- a/pkg/commands/dashboard/item/create.go +++ b/pkg/commands/dashboard/item/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/dashboard/printer" diff --git a/pkg/commands/dashboard/item/delete.go b/pkg/commands/dashboard/item/delete.go index b8aa553cb..de0fd33a1 100644 --- a/pkg/commands/dashboard/item/delete.go +++ b/pkg/commands/dashboard/item/delete.go @@ -5,7 +5,7 @@ import ( "io" "slices" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/dashboard/item/describe.go b/pkg/commands/dashboard/item/describe.go index 7ba213bee..91e716e86 100644 --- a/pkg/commands/dashboard/item/describe.go +++ b/pkg/commands/dashboard/item/describe.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/dashboard/printer" diff --git a/pkg/commands/dashboard/item/item_test.go b/pkg/commands/dashboard/item/item_test.go index 9f408cdbd..d8f162390 100644 --- a/pkg/commands/dashboard/item/item_test.go +++ b/pkg/commands/dashboard/item/item_test.go @@ -5,7 +5,7 @@ import ( "fmt" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/dashboard" sub "github.com/fastly/cli/pkg/commands/dashboard/item" diff --git a/pkg/commands/dashboard/item/update.go b/pkg/commands/dashboard/item/update.go index 69a6c8382..8f7273c16 100644 --- a/pkg/commands/dashboard/item/update.go +++ b/pkg/commands/dashboard/item/update.go @@ -6,7 +6,7 @@ import ( "io" "slices" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/dashboard/list.go b/pkg/commands/dashboard/list.go index 984c4f2af..75e91d5b3 100644 --- a/pkg/commands/dashboard/list.go +++ b/pkg/commands/dashboard/list.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/dashboard/printer" diff --git a/pkg/commands/dashboard/printer/print.go b/pkg/commands/dashboard/printer/print.go index c0a3dc00e..f2f7cb99c 100644 --- a/pkg/commands/dashboard/printer/print.go +++ b/pkg/commands/dashboard/printer/print.go @@ -6,7 +6,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/text" ) diff --git a/pkg/commands/dashboard/update.go b/pkg/commands/dashboard/update.go index d0cd5ee4f..6e64e52e8 100644 --- a/pkg/commands/dashboard/update.go +++ b/pkg/commands/dashboard/update.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/dns/tsigkey/create.go b/pkg/commands/dns/tsigkey/create.go index f5c37329c..351df2c29 100644 --- a/pkg/commands/dns/tsigkey/create.go +++ b/pkg/commands/dns/tsigkey/create.go @@ -7,8 +7,8 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/dns/v1/tsigkeys" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/dns/v1/tsigkeys" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/dns/tsigkey/delete.go b/pkg/commands/dns/tsigkey/delete.go index f6100a13b..ca8add0e0 100644 --- a/pkg/commands/dns/tsigkey/delete.go +++ b/pkg/commands/dns/tsigkey/delete.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/dns/v1/tsigkeys" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/dns/v1/tsigkeys" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/dns/tsigkey/describe.go b/pkg/commands/dns/tsigkey/describe.go index bacf0f1a4..9cb69afb1 100644 --- a/pkg/commands/dns/tsigkey/describe.go +++ b/pkg/commands/dns/tsigkey/describe.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/dns/v1/tsigkeys" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/dns/v1/tsigkeys" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/dns/tsigkey/list.go b/pkg/commands/dns/tsigkey/list.go index 059451c71..fedb4841a 100644 --- a/pkg/commands/dns/tsigkey/list.go +++ b/pkg/commands/dns/tsigkey/list.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/dns/v1/tsigkeys" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/dns/v1/tsigkeys" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/dns/tsigkey/tsigkey_test.go b/pkg/commands/dns/tsigkey/tsigkey_test.go index 4dc071f3d..1ee55c87e 100644 --- a/pkg/commands/dns/tsigkey/tsigkey_test.go +++ b/pkg/commands/dns/tsigkey/tsigkey_test.go @@ -8,7 +8,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly/dns/v1/tsigkeys" + "github.com/fastly/go-fastly/v18/fastly/dns/v1/tsigkeys" dnsroot "github.com/fastly/cli/pkg/commands/dns" root "github.com/fastly/cli/pkg/commands/dns/tsigkey" diff --git a/pkg/commands/dns/tsigkey/update.go b/pkg/commands/dns/tsigkey/update.go index 7ad12ab04..870f36b5d 100644 --- a/pkg/commands/dns/tsigkey/update.go +++ b/pkg/commands/dns/tsigkey/update.go @@ -7,8 +7,8 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/dns/v1/tsigkeys" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/dns/v1/tsigkeys" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/dns/zone/create.go b/pkg/commands/dns/zone/create.go index 38cd48b4e..efe3e7bd4 100644 --- a/pkg/commands/dns/zone/create.go +++ b/pkg/commands/dns/zone/create.go @@ -7,8 +7,8 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/dns/v1/dnszones" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/dns/v1/dnszones" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/dns/zone/delete.go b/pkg/commands/dns/zone/delete.go index 2956b7347..6b1ed6110 100644 --- a/pkg/commands/dns/zone/delete.go +++ b/pkg/commands/dns/zone/delete.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/dns/v1/dnszones" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/dns/v1/dnszones" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/dns/zone/describe.go b/pkg/commands/dns/zone/describe.go index b73d98e1a..4734a3502 100644 --- a/pkg/commands/dns/zone/describe.go +++ b/pkg/commands/dns/zone/describe.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/dns/v1/dnszones" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/dns/v1/dnszones" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/dns/zone/list.go b/pkg/commands/dns/zone/list.go index 8a6650f99..28dc9d662 100644 --- a/pkg/commands/dns/zone/list.go +++ b/pkg/commands/dns/zone/list.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/dns/v1/dnszones" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/dns/v1/dnszones" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/dns/zone/update.go b/pkg/commands/dns/zone/update.go index fd977d980..efab5db34 100644 --- a/pkg/commands/dns/zone/update.go +++ b/pkg/commands/dns/zone/update.go @@ -7,8 +7,8 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/dns/v1/dnszones" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/dns/v1/dnszones" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/dns/zone/zone_test.go b/pkg/commands/dns/zone/zone_test.go index d7c36c8c5..92f1fce78 100644 --- a/pkg/commands/dns/zone/zone_test.go +++ b/pkg/commands/dns/zone/zone_test.go @@ -8,7 +8,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly/dns/v1/dnszones" + "github.com/fastly/go-fastly/v18/fastly/dns/v1/dnszones" dnsroot "github.com/fastly/cli/pkg/commands/dns" root "github.com/fastly/cli/pkg/commands/dns/zone" diff --git a/pkg/commands/domain/common.go b/pkg/commands/domain/common.go index 9999406cf..9dd2bdd76 100644 --- a/pkg/commands/domain/common.go +++ b/pkg/commands/domain/common.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/domains" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/domains" "github.com/fastly/cli/pkg/text" ) diff --git a/pkg/commands/domain/create.go b/pkg/commands/domain/create.go index a2097480b..83daf11f2 100644 --- a/pkg/commands/domain/create.go +++ b/pkg/commands/domain/create.go @@ -6,8 +6,8 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/domains" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/domains" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/domain/delete.go b/pkg/commands/domain/delete.go index 0e825480e..41fa12890 100644 --- a/pkg/commands/domain/delete.go +++ b/pkg/commands/domain/delete.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/domains" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/domains" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/domain/describe.go b/pkg/commands/domain/describe.go index 96776e178..e25a53a8c 100644 --- a/pkg/commands/domain/describe.go +++ b/pkg/commands/domain/describe.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/domains" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/domains" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/domain/domain_test.go b/pkg/commands/domain/domain_test.go index 7d2b2d6be..040c87f7a 100644 --- a/pkg/commands/domain/domain_test.go +++ b/pkg/commands/domain/domain_test.go @@ -8,7 +8,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/domains" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/domains" root "github.com/fastly/cli/pkg/commands/domain" "github.com/fastly/cli/pkg/testutil" diff --git a/pkg/commands/domain/list.go b/pkg/commands/domain/list.go index fbdbec16f..0a32c8fb0 100644 --- a/pkg/commands/domain/list.go +++ b/pkg/commands/domain/list.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/domains" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/domains" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/domain/update.go b/pkg/commands/domain/update.go index 69f2ce2f9..295109fcb 100644 --- a/pkg/commands/domain/update.go +++ b/pkg/commands/domain/update.go @@ -6,8 +6,8 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/domains" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/domains" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/integration/datadog/create.go b/pkg/commands/integration/datadog/create.go index e08e15760..8997a3cec 100644 --- a/pkg/commands/integration/datadog/create.go +++ b/pkg/commands/integration/datadog/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/integration/datadog/datadog_test.go b/pkg/commands/integration/datadog/datadog_test.go index d9d5e1336..d8eb13a4c 100644 --- a/pkg/commands/integration/datadog/datadog_test.go +++ b/pkg/commands/integration/datadog/datadog_test.go @@ -6,7 +6,7 @@ import ( "fmt" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/integration" sub "github.com/fastly/cli/pkg/commands/integration/datadog" diff --git a/pkg/commands/integration/datadog/update.go b/pkg/commands/integration/datadog/update.go index 8df6bdf34..05b150645 100644 --- a/pkg/commands/integration/datadog/update.go +++ b/pkg/commands/integration/datadog/update.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/integration/delete.go b/pkg/commands/integration/delete.go index 8d76fbb54..356d0753d 100644 --- a/pkg/commands/integration/delete.go +++ b/pkg/commands/integration/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/integration/describe.go b/pkg/commands/integration/describe.go index 6a4dfd673..ce2c62bd5 100644 --- a/pkg/commands/integration/describe.go +++ b/pkg/commands/integration/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/integration/integration_test.go b/pkg/commands/integration/integration_test.go index ce79f3947..0bff34251 100644 --- a/pkg/commands/integration/integration_test.go +++ b/pkg/commands/integration/integration_test.go @@ -8,7 +8,7 @@ import ( "testing" "time" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/integration" fstfmt "github.com/fastly/cli/pkg/fmt" diff --git a/pkg/commands/integration/jiraissue/create.go b/pkg/commands/integration/jiraissue/create.go index d0e3acbad..036f0e152 100644 --- a/pkg/commands/integration/jiraissue/create.go +++ b/pkg/commands/integration/jiraissue/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/integration/jiraissue/jiraissue_test.go b/pkg/commands/integration/jiraissue/jiraissue_test.go index 439338c06..5f02418a7 100644 --- a/pkg/commands/integration/jiraissue/jiraissue_test.go +++ b/pkg/commands/integration/jiraissue/jiraissue_test.go @@ -6,7 +6,7 @@ import ( "fmt" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/integration" sub "github.com/fastly/cli/pkg/commands/integration/jiraissue" diff --git a/pkg/commands/integration/jiraissue/update.go b/pkg/commands/integration/jiraissue/update.go index 96f0ceee6..d6b9dc069 100644 --- a/pkg/commands/integration/jiraissue/update.go +++ b/pkg/commands/integration/jiraissue/update.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/integration/jsm/create.go b/pkg/commands/integration/jsm/create.go index daedab698..16c3bb0d9 100644 --- a/pkg/commands/integration/jsm/create.go +++ b/pkg/commands/integration/jsm/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/integration/jsm/jsm_test.go b/pkg/commands/integration/jsm/jsm_test.go index 77883aa05..6d4b4bd57 100644 --- a/pkg/commands/integration/jsm/jsm_test.go +++ b/pkg/commands/integration/jsm/jsm_test.go @@ -6,7 +6,7 @@ import ( "fmt" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/integration" sub "github.com/fastly/cli/pkg/commands/integration/jsm" diff --git a/pkg/commands/integration/jsm/update.go b/pkg/commands/integration/jsm/update.go index 0d2bf6703..4538cfa88 100644 --- a/pkg/commands/integration/jsm/update.go +++ b/pkg/commands/integration/jsm/update.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/integration/list.go b/pkg/commands/integration/list.go index 8889cfdaf..b735f5e6e 100644 --- a/pkg/commands/integration/list.go +++ b/pkg/commands/integration/list.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/integration/datadog" diff --git a/pkg/commands/integration/list_types.go b/pkg/commands/integration/list_types.go index e27d13f27..931f405f9 100644 --- a/pkg/commands/integration/list_types.go +++ b/pkg/commands/integration/list_types.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/integration/mail/confirm.go b/pkg/commands/integration/mail/confirm.go index b52b52690..025aad9ea 100644 --- a/pkg/commands/integration/mail/confirm.go +++ b/pkg/commands/integration/mail/confirm.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/integration/mail/create.go b/pkg/commands/integration/mail/create.go index e24ee09f6..15c2fb84d 100644 --- a/pkg/commands/integration/mail/create.go +++ b/pkg/commands/integration/mail/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/integration/mail/mail_test.go b/pkg/commands/integration/mail/mail_test.go index 53cd566b3..77f415190 100644 --- a/pkg/commands/integration/mail/mail_test.go +++ b/pkg/commands/integration/mail/mail_test.go @@ -6,7 +6,7 @@ import ( "fmt" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/integration" sub "github.com/fastly/cli/pkg/commands/integration/mail" diff --git a/pkg/commands/integration/mail/update.go b/pkg/commands/integration/mail/update.go index a670cc3ed..b8a73f160 100644 --- a/pkg/commands/integration/mail/update.go +++ b/pkg/commands/integration/mail/update.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/integration/msteams/create.go b/pkg/commands/integration/msteams/create.go index 9b167257c..f337a4d87 100644 --- a/pkg/commands/integration/msteams/create.go +++ b/pkg/commands/integration/msteams/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/integration/msteams/msteams_test.go b/pkg/commands/integration/msteams/msteams_test.go index a12a7bd6f..0dfb5dc77 100644 --- a/pkg/commands/integration/msteams/msteams_test.go +++ b/pkg/commands/integration/msteams/msteams_test.go @@ -6,7 +6,7 @@ import ( "fmt" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/integration" sub "github.com/fastly/cli/pkg/commands/integration/msteams" diff --git a/pkg/commands/integration/msteams/update.go b/pkg/commands/integration/msteams/update.go index 55e8d06ae..ef18d4f22 100644 --- a/pkg/commands/integration/msteams/update.go +++ b/pkg/commands/integration/msteams/update.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/integration/newrelic/create.go b/pkg/commands/integration/newrelic/create.go index a876d33df..9860da6fd 100644 --- a/pkg/commands/integration/newrelic/create.go +++ b/pkg/commands/integration/newrelic/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/integration/newrelic/newrelic_test.go b/pkg/commands/integration/newrelic/newrelic_test.go index 3ca186ad7..7cb79d329 100644 --- a/pkg/commands/integration/newrelic/newrelic_test.go +++ b/pkg/commands/integration/newrelic/newrelic_test.go @@ -6,7 +6,7 @@ import ( "fmt" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/integration" sub "github.com/fastly/cli/pkg/commands/integration/newrelic" diff --git a/pkg/commands/integration/newrelic/update.go b/pkg/commands/integration/newrelic/update.go index d4c33042e..f227640a6 100644 --- a/pkg/commands/integration/newrelic/update.go +++ b/pkg/commands/integration/newrelic/update.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/integration/opsgenie/create.go b/pkg/commands/integration/opsgenie/create.go index c8f65e7b5..5bf48dde1 100644 --- a/pkg/commands/integration/opsgenie/create.go +++ b/pkg/commands/integration/opsgenie/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/integration/opsgenie/opsgenie_test.go b/pkg/commands/integration/opsgenie/opsgenie_test.go index 8cdb54723..81e063487 100644 --- a/pkg/commands/integration/opsgenie/opsgenie_test.go +++ b/pkg/commands/integration/opsgenie/opsgenie_test.go @@ -6,7 +6,7 @@ import ( "fmt" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/integration" sub "github.com/fastly/cli/pkg/commands/integration/opsgenie" diff --git a/pkg/commands/integration/opsgenie/update.go b/pkg/commands/integration/opsgenie/update.go index 0d4b1239d..c8c097976 100644 --- a/pkg/commands/integration/opsgenie/update.go +++ b/pkg/commands/integration/opsgenie/update.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/integration/pagerduty/create.go b/pkg/commands/integration/pagerduty/create.go index 4e2f34f34..74aa75150 100644 --- a/pkg/commands/integration/pagerduty/create.go +++ b/pkg/commands/integration/pagerduty/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/integration/pagerduty/pagerduty_test.go b/pkg/commands/integration/pagerduty/pagerduty_test.go index 1936ba0ce..703fe5a92 100644 --- a/pkg/commands/integration/pagerduty/pagerduty_test.go +++ b/pkg/commands/integration/pagerduty/pagerduty_test.go @@ -6,7 +6,7 @@ import ( "fmt" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/integration" sub "github.com/fastly/cli/pkg/commands/integration/pagerduty" diff --git a/pkg/commands/integration/pagerduty/update.go b/pkg/commands/integration/pagerduty/update.go index a4d578168..750552eea 100644 --- a/pkg/commands/integration/pagerduty/update.go +++ b/pkg/commands/integration/pagerduty/update.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/integration/slack/create.go b/pkg/commands/integration/slack/create.go index 267cd548b..f1c54d018 100644 --- a/pkg/commands/integration/slack/create.go +++ b/pkg/commands/integration/slack/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/integration/slack/slack_test.go b/pkg/commands/integration/slack/slack_test.go index e5b0c3cfb..c62b85638 100644 --- a/pkg/commands/integration/slack/slack_test.go +++ b/pkg/commands/integration/slack/slack_test.go @@ -6,7 +6,7 @@ import ( "fmt" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/integration" sub "github.com/fastly/cli/pkg/commands/integration/slack" diff --git a/pkg/commands/integration/slack/update.go b/pkg/commands/integration/slack/update.go index 6de4c9a85..70e85784f 100644 --- a/pkg/commands/integration/slack/update.go +++ b/pkg/commands/integration/slack/update.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/integration/splunkoncall/create.go b/pkg/commands/integration/splunkoncall/create.go index bcf67506c..41d00f3a1 100644 --- a/pkg/commands/integration/splunkoncall/create.go +++ b/pkg/commands/integration/splunkoncall/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/integration/splunkoncall/splunkoncall_test.go b/pkg/commands/integration/splunkoncall/splunkoncall_test.go index 51c4ae7a7..d089f4c9b 100644 --- a/pkg/commands/integration/splunkoncall/splunkoncall_test.go +++ b/pkg/commands/integration/splunkoncall/splunkoncall_test.go @@ -6,7 +6,7 @@ import ( "fmt" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/integration" sub "github.com/fastly/cli/pkg/commands/integration/splunkoncall" diff --git a/pkg/commands/integration/splunkoncall/update.go b/pkg/commands/integration/splunkoncall/update.go index e1c8489b7..11bb794bc 100644 --- a/pkg/commands/integration/splunkoncall/update.go +++ b/pkg/commands/integration/splunkoncall/update.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/integration/webhook/create.go b/pkg/commands/integration/webhook/create.go index 5c338220a..4a28d1e36 100644 --- a/pkg/commands/integration/webhook/create.go +++ b/pkg/commands/integration/webhook/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/integration/webhook/get-signing-key.go b/pkg/commands/integration/webhook/get-signing-key.go index 613214bc3..aa890034d 100644 --- a/pkg/commands/integration/webhook/get-signing-key.go +++ b/pkg/commands/integration/webhook/get-signing-key.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/integration/webhook/rotate-signing-key.go b/pkg/commands/integration/webhook/rotate-signing-key.go index 7656f25d6..fe6ed5fba 100644 --- a/pkg/commands/integration/webhook/rotate-signing-key.go +++ b/pkg/commands/integration/webhook/rotate-signing-key.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/integration/webhook/update.go b/pkg/commands/integration/webhook/update.go index 28a8204ab..c10864a72 100644 --- a/pkg/commands/integration/webhook/update.go +++ b/pkg/commands/integration/webhook/update.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/integration/webhook/webhook_test.go b/pkg/commands/integration/webhook/webhook_test.go index ce3c33be7..fd859f982 100644 --- a/pkg/commands/integration/webhook/webhook_test.go +++ b/pkg/commands/integration/webhook/webhook_test.go @@ -6,7 +6,7 @@ import ( "fmt" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/integration" sub "github.com/fastly/cli/pkg/commands/integration/webhook" diff --git a/pkg/commands/ip/ip_test.go b/pkg/commands/ip/ip_test.go index ddf5f5518..ca716a7c5 100644 --- a/pkg/commands/ip/ip_test.go +++ b/pkg/commands/ip/ip_test.go @@ -4,7 +4,7 @@ import ( "context" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/ip" "github.com/fastly/cli/pkg/mock" diff --git a/pkg/commands/kvstore/create.go b/pkg/commands/kvstore/create.go index dfacbc82c..dc8532698 100644 --- a/pkg/commands/kvstore/create.go +++ b/pkg/commands/kvstore/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/kvstore/delete.go b/pkg/commands/kvstore/delete.go index 8cae06ece..ecba9f57d 100644 --- a/pkg/commands/kvstore/delete.go +++ b/pkg/commands/kvstore/delete.go @@ -6,7 +6,7 @@ import ( "io" "strconv" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/kvstoreentry" diff --git a/pkg/commands/kvstore/describe.go b/pkg/commands/kvstore/describe.go index 875fa4794..0e1cd7a6f 100644 --- a/pkg/commands/kvstore/describe.go +++ b/pkg/commands/kvstore/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/kvstore/kvstore_test.go b/pkg/commands/kvstore/kvstore_test.go index c5146ab43..3f1943a42 100644 --- a/pkg/commands/kvstore/kvstore_test.go +++ b/pkg/commands/kvstore/kvstore_test.go @@ -8,7 +8,7 @@ import ( "testing" "time" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/kvstore" fstfmt "github.com/fastly/cli/pkg/fmt" diff --git a/pkg/commands/kvstore/list.go b/pkg/commands/kvstore/list.go index c37f71d74..f5c622d37 100644 --- a/pkg/commands/kvstore/list.go +++ b/pkg/commands/kvstore/list.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/kvstoreentry/create.go b/pkg/commands/kvstoreentry/create.go index 28fedab9c..940af446e 100644 --- a/pkg/commands/kvstoreentry/create.go +++ b/pkg/commands/kvstoreentry/create.go @@ -13,7 +13,7 @@ import ( "sync" "sync/atomic" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/api" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/kvstoreentry/delete.go b/pkg/commands/kvstoreentry/delete.go index 95fa00eb8..864281411 100644 --- a/pkg/commands/kvstoreentry/delete.go +++ b/pkg/commands/kvstoreentry/delete.go @@ -8,7 +8,7 @@ import ( "sync" "sync/atomic" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/kvstoreentry/describe.go b/pkg/commands/kvstoreentry/describe.go index d2ef1c789..e5b5864fb 100644 --- a/pkg/commands/kvstoreentry/describe.go +++ b/pkg/commands/kvstoreentry/describe.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/kvstoreentry/get.go b/pkg/commands/kvstoreentry/get.go index 962afc464..b35d69f5d 100644 --- a/pkg/commands/kvstoreentry/get.go +++ b/pkg/commands/kvstoreentry/get.go @@ -7,7 +7,7 @@ import ( "io" "strconv" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/kvstoreentry/kvstoreentry_test.go b/pkg/commands/kvstoreentry/kvstoreentry_test.go index a475c6888..19cd983a0 100644 --- a/pkg/commands/kvstoreentry/kvstoreentry_test.go +++ b/pkg/commands/kvstoreentry/kvstoreentry_test.go @@ -10,7 +10,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/kvstoreentry" fstfmt "github.com/fastly/cli/pkg/fmt" diff --git a/pkg/commands/kvstoreentry/list.go b/pkg/commands/kvstoreentry/list.go index 9e998821e..126b96a68 100644 --- a/pkg/commands/kvstoreentry/list.go +++ b/pkg/commands/kvstoreentry/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logtail/root.go b/pkg/commands/logtail/root.go index 42cfc4b3f..948dd0fa3 100644 --- a/pkg/commands/logtail/root.go +++ b/pkg/commands/logtail/root.go @@ -19,7 +19,7 @@ import ( "github.com/tomnomnom/linkheader" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/debug" diff --git a/pkg/commands/ngwaf/countrylist/countrylist_test.go b/pkg/commands/ngwaf/countrylist/countrylist_test.go index d779540e3..409787f36 100644 --- a/pkg/commands/ngwaf/countrylist/countrylist_test.go +++ b/pkg/commands/ngwaf/countrylist/countrylist_test.go @@ -12,8 +12,8 @@ import ( sub "github.com/fastly/cli/pkg/commands/ngwaf/countrylist" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/lists" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/lists" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) const ( diff --git a/pkg/commands/ngwaf/countrylist/create.go b/pkg/commands/ngwaf/countrylist/create.go index 258647419..74d94ba95 100644 --- a/pkg/commands/ngwaf/countrylist/create.go +++ b/pkg/commands/ngwaf/countrylist/create.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/ngwaf/ngwaflist" diff --git a/pkg/commands/ngwaf/countrylist/delete.go b/pkg/commands/ngwaf/countrylist/delete.go index ce93e596f..944ec83d3 100644 --- a/pkg/commands/ngwaf/countrylist/delete.go +++ b/pkg/commands/ngwaf/countrylist/delete.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/ngwaf/ngwaflist" diff --git a/pkg/commands/ngwaf/countrylist/get.go b/pkg/commands/ngwaf/countrylist/get.go index 511807b35..95c268354 100644 --- a/pkg/commands/ngwaf/countrylist/get.go +++ b/pkg/commands/ngwaf/countrylist/get.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) // GetCommand calls the Fastly API to get an account-level country list. diff --git a/pkg/commands/ngwaf/countrylist/list.go b/pkg/commands/ngwaf/countrylist/list.go index 9b46cb6c8..480144d6e 100644 --- a/pkg/commands/ngwaf/countrylist/list.go +++ b/pkg/commands/ngwaf/countrylist/list.go @@ -10,8 +10,8 @@ import ( "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) // ListCommand calls the Fastly API to list all country lists for your API token. diff --git a/pkg/commands/ngwaf/countrylist/update.go b/pkg/commands/ngwaf/countrylist/update.go index cf87e10da..a092bb27d 100644 --- a/pkg/commands/ngwaf/countrylist/update.go +++ b/pkg/commands/ngwaf/countrylist/update.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/ngwaf/ngwaflist" diff --git a/pkg/commands/ngwaf/customsignal/create.go b/pkg/commands/ngwaf/customsignal/create.go index fc0f86e63..0403427c9 100644 --- a/pkg/commands/ngwaf/customsignal/create.go +++ b/pkg/commands/ngwaf/customsignal/create.go @@ -5,9 +5,9 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/signals" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/signals" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ngwaf/customsignal/customsignal_test.go b/pkg/commands/ngwaf/customsignal/customsignal_test.go index ff648a192..39a0e9a19 100644 --- a/pkg/commands/ngwaf/customsignal/customsignal_test.go +++ b/pkg/commands/ngwaf/customsignal/customsignal_test.go @@ -12,8 +12,8 @@ import ( sub "github.com/fastly/cli/pkg/commands/ngwaf/customsignal" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/signals" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/signals" ) const ( diff --git a/pkg/commands/ngwaf/customsignal/delete.go b/pkg/commands/ngwaf/customsignal/delete.go index 0cfa51264..2914fb2e6 100644 --- a/pkg/commands/ngwaf/customsignal/delete.go +++ b/pkg/commands/ngwaf/customsignal/delete.go @@ -5,10 +5,10 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/signals" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/signals" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ngwaf/customsignal/get.go b/pkg/commands/ngwaf/customsignal/get.go index d0c3feaae..754ebe825 100644 --- a/pkg/commands/ngwaf/customsignal/get.go +++ b/pkg/commands/ngwaf/customsignal/get.go @@ -5,10 +5,10 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/signals" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/signals" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ngwaf/customsignal/list.go b/pkg/commands/ngwaf/customsignal/list.go index ad93b7f22..c4e6cddd2 100644 --- a/pkg/commands/ngwaf/customsignal/list.go +++ b/pkg/commands/ngwaf/customsignal/list.go @@ -9,10 +9,10 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/signals" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/signals" ) // ListCommand calls the Fastly API to list all account-level custom signals for your API token. diff --git a/pkg/commands/ngwaf/customsignal/update.go b/pkg/commands/ngwaf/customsignal/update.go index 4b92b877b..02355ab4f 100644 --- a/pkg/commands/ngwaf/customsignal/update.go +++ b/pkg/commands/ngwaf/customsignal/update.go @@ -5,9 +5,9 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/signals" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/signals" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ngwaf/iplist/create.go b/pkg/commands/ngwaf/iplist/create.go index 9d581b4db..973ad9d39 100644 --- a/pkg/commands/ngwaf/iplist/create.go +++ b/pkg/commands/ngwaf/iplist/create.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/ngwaf/ngwaflist" diff --git a/pkg/commands/ngwaf/iplist/delete.go b/pkg/commands/ngwaf/iplist/delete.go index a3443a496..149fb2468 100644 --- a/pkg/commands/ngwaf/iplist/delete.go +++ b/pkg/commands/ngwaf/iplist/delete.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/ngwaf/ngwaflist" diff --git a/pkg/commands/ngwaf/iplist/get.go b/pkg/commands/ngwaf/iplist/get.go index c88b5dc59..e1b59144f 100644 --- a/pkg/commands/ngwaf/iplist/get.go +++ b/pkg/commands/ngwaf/iplist/get.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) // GetCommand calls the Fastly API to get an account-level ip list. diff --git a/pkg/commands/ngwaf/iplist/iplist_test.go b/pkg/commands/ngwaf/iplist/iplist_test.go index f59220dcf..c2d37b31b 100644 --- a/pkg/commands/ngwaf/iplist/iplist_test.go +++ b/pkg/commands/ngwaf/iplist/iplist_test.go @@ -12,8 +12,8 @@ import ( sub "github.com/fastly/cli/pkg/commands/ngwaf/iplist" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/lists" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/lists" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) const ( diff --git a/pkg/commands/ngwaf/iplist/list.go b/pkg/commands/ngwaf/iplist/list.go index af05d3500..5ea7aecd4 100644 --- a/pkg/commands/ngwaf/iplist/list.go +++ b/pkg/commands/ngwaf/iplist/list.go @@ -10,8 +10,8 @@ import ( "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) // ListCommand calls the Fastly API to list all ip lists for your API token. diff --git a/pkg/commands/ngwaf/iplist/update.go b/pkg/commands/ngwaf/iplist/update.go index c4def6c0f..3555f0272 100644 --- a/pkg/commands/ngwaf/iplist/update.go +++ b/pkg/commands/ngwaf/iplist/update.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/ngwaf/ngwaflist" diff --git a/pkg/commands/ngwaf/ngwaflist/api.go b/pkg/commands/ngwaf/ngwaflist/api.go index d6c37c612..6f9ef1649 100644 --- a/pkg/commands/ngwaf/ngwaflist/api.go +++ b/pkg/commands/ngwaf/ngwaflist/api.go @@ -7,9 +7,9 @@ import ( "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/ngwaf" fsterr "github.com/fastly/cli/pkg/errors" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/lists" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/lists" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) type ListCreateInput struct { diff --git a/pkg/commands/ngwaf/root.go b/pkg/commands/ngwaf/root.go index eb1785a64..fecc95f8d 100644 --- a/pkg/commands/ngwaf/root.go +++ b/pkg/commands/ngwaf/root.go @@ -5,7 +5,7 @@ import ( "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) // RootCommand is the parent command for all subcommands in this package. diff --git a/pkg/commands/ngwaf/rule/create.go b/pkg/commands/ngwaf/rule/create.go index d0aa26765..b47c67d5d 100644 --- a/pkg/commands/ngwaf/rule/create.go +++ b/pkg/commands/ngwaf/rule/create.go @@ -9,9 +9,9 @@ import ( "os" "path/filepath" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/rules" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/rules" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ngwaf/rule/delete.go b/pkg/commands/ngwaf/rule/delete.go index 1752a5ed7..a333c197a 100644 --- a/pkg/commands/ngwaf/rule/delete.go +++ b/pkg/commands/ngwaf/rule/delete.go @@ -5,10 +5,10 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/rules" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/rules" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ngwaf/rule/get.go b/pkg/commands/ngwaf/rule/get.go index e118c951d..e9c3e3593 100644 --- a/pkg/commands/ngwaf/rule/get.go +++ b/pkg/commands/ngwaf/rule/get.go @@ -5,10 +5,10 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/rules" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/rules" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ngwaf/rule/list.go b/pkg/commands/ngwaf/rule/list.go index 94f8c802c..d6a911023 100644 --- a/pkg/commands/ngwaf/rule/list.go +++ b/pkg/commands/ngwaf/rule/list.go @@ -10,10 +10,10 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/rules" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/rules" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) // ListCommand calls the Fastly API to list all account-level rules for your API token. @@ -81,6 +81,6 @@ func (c *ListCommand) Exec(_ io.Reader, out io.Writer) error { return err } - text.PrintRuleTbl(out, rules.Data) + text.PrintRuleTbl(out, rules) return nil } diff --git a/pkg/commands/ngwaf/rule/rule_test.go b/pkg/commands/ngwaf/rule/rule_test.go index e8515b14f..bbfaf6994 100644 --- a/pkg/commands/ngwaf/rule/rule_test.go +++ b/pkg/commands/ngwaf/rule/rule_test.go @@ -12,8 +12,8 @@ import ( sub "github.com/fastly/cli/pkg/commands/ngwaf/rule" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/rules" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/rules" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) const ( @@ -340,7 +340,7 @@ func TestRuleList(t *testing.T) { }, }, }, - WantOutput: fstfmt.EncodeJSON(rulesObject), + WantOutput: fstfmt.EncodeJSON(rulesObject.Data), }, } diff --git a/pkg/commands/ngwaf/rule/update.go b/pkg/commands/ngwaf/rule/update.go index 934f67ea0..769f530b9 100644 --- a/pkg/commands/ngwaf/rule/update.go +++ b/pkg/commands/ngwaf/rule/update.go @@ -9,9 +9,9 @@ import ( "os" "path/filepath" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/rules" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/rules" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ngwaf/signallist/create.go b/pkg/commands/ngwaf/signallist/create.go index a5803c830..d324af1e5 100644 --- a/pkg/commands/ngwaf/signallist/create.go +++ b/pkg/commands/ngwaf/signallist/create.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/ngwaf/ngwaflist" diff --git a/pkg/commands/ngwaf/signallist/delete.go b/pkg/commands/ngwaf/signallist/delete.go index 70e398546..fe383748c 100644 --- a/pkg/commands/ngwaf/signallist/delete.go +++ b/pkg/commands/ngwaf/signallist/delete.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/ngwaf/ngwaflist" diff --git a/pkg/commands/ngwaf/signallist/get.go b/pkg/commands/ngwaf/signallist/get.go index 91250be48..a76e8e07e 100644 --- a/pkg/commands/ngwaf/signallist/get.go +++ b/pkg/commands/ngwaf/signallist/get.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) // GetCommand calls the Fastly API to get an account-level signal list. diff --git a/pkg/commands/ngwaf/signallist/list.go b/pkg/commands/ngwaf/signallist/list.go index 40868c8dd..4ae861da5 100644 --- a/pkg/commands/ngwaf/signallist/list.go +++ b/pkg/commands/ngwaf/signallist/list.go @@ -10,8 +10,8 @@ import ( "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) // ListCommand calls the Fastly API to list all signal lists for your API token. diff --git a/pkg/commands/ngwaf/signallist/signallist_test.go b/pkg/commands/ngwaf/signallist/signallist_test.go index 58ae84413..6c5190e1d 100644 --- a/pkg/commands/ngwaf/signallist/signallist_test.go +++ b/pkg/commands/ngwaf/signallist/signallist_test.go @@ -12,8 +12,8 @@ import ( sub "github.com/fastly/cli/pkg/commands/ngwaf/signallist" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/lists" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/lists" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) const ( diff --git a/pkg/commands/ngwaf/signallist/update.go b/pkg/commands/ngwaf/signallist/update.go index 57a165bae..c64ad680d 100644 --- a/pkg/commands/ngwaf/signallist/update.go +++ b/pkg/commands/ngwaf/signallist/update.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/ngwaf/ngwaflist" diff --git a/pkg/commands/ngwaf/stringlist/create.go b/pkg/commands/ngwaf/stringlist/create.go index 1578b7775..3273e6430 100644 --- a/pkg/commands/ngwaf/stringlist/create.go +++ b/pkg/commands/ngwaf/stringlist/create.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/ngwaf/ngwaflist" diff --git a/pkg/commands/ngwaf/stringlist/delete.go b/pkg/commands/ngwaf/stringlist/delete.go index 4872d1d09..966ddacb6 100644 --- a/pkg/commands/ngwaf/stringlist/delete.go +++ b/pkg/commands/ngwaf/stringlist/delete.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/ngwaf/ngwaflist" diff --git a/pkg/commands/ngwaf/stringlist/get.go b/pkg/commands/ngwaf/stringlist/get.go index c9e0e6e65..2441c9bd3 100644 --- a/pkg/commands/ngwaf/stringlist/get.go +++ b/pkg/commands/ngwaf/stringlist/get.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) // GetCommand calls the Fastly API to get an account-level string list. diff --git a/pkg/commands/ngwaf/stringlist/list.go b/pkg/commands/ngwaf/stringlist/list.go index 0ef8a9ed2..cfb7c99f8 100644 --- a/pkg/commands/ngwaf/stringlist/list.go +++ b/pkg/commands/ngwaf/stringlist/list.go @@ -10,8 +10,8 @@ import ( "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) // ListCommand calls the Fastly API to list all string lists for your API token. diff --git a/pkg/commands/ngwaf/stringlist/stringlist_test.go b/pkg/commands/ngwaf/stringlist/stringlist_test.go index 29878f26e..3c4ce6220 100644 --- a/pkg/commands/ngwaf/stringlist/stringlist_test.go +++ b/pkg/commands/ngwaf/stringlist/stringlist_test.go @@ -12,8 +12,8 @@ import ( sub "github.com/fastly/cli/pkg/commands/ngwaf/stringlist" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/lists" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/lists" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) const ( diff --git a/pkg/commands/ngwaf/stringlist/update.go b/pkg/commands/ngwaf/stringlist/update.go index 27431ce5b..9bb242dfa 100644 --- a/pkg/commands/ngwaf/stringlist/update.go +++ b/pkg/commands/ngwaf/stringlist/update.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/ngwaf/ngwaflist" diff --git a/pkg/commands/ngwaf/timeseries/list.go b/pkg/commands/ngwaf/timeseries/list.go index f42a01d9f..d891c8cd9 100644 --- a/pkg/commands/ngwaf/timeseries/list.go +++ b/pkg/commands/ngwaf/timeseries/list.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - ts "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/timeseries" + "github.com/fastly/go-fastly/v18/fastly" + ts "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/timeseries" ) // ListCommand calls the Fastly API to list an account-level time series metrics. diff --git a/pkg/commands/ngwaf/timeseries/root.go b/pkg/commands/ngwaf/timeseries/root.go index 9f349e24d..2f904fedd 100644 --- a/pkg/commands/ngwaf/timeseries/root.go +++ b/pkg/commands/ngwaf/timeseries/root.go @@ -5,7 +5,7 @@ import ( "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) // RootCommand is the parent command for all subcommands in this package. diff --git a/pkg/commands/ngwaf/timeseries/timeseries_test.go b/pkg/commands/ngwaf/timeseries/timeseries_test.go index 7ab94ae83..c8f3d573e 100644 --- a/pkg/commands/ngwaf/timeseries/timeseries_test.go +++ b/pkg/commands/ngwaf/timeseries/timeseries_test.go @@ -11,7 +11,7 @@ import ( sub "github.com/fastly/cli/pkg/commands/ngwaf/timeseries" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - gots "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/timeseries" + gots "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/timeseries" ) var timeseriesResponse = gots.Timeseries{ diff --git a/pkg/commands/ngwaf/wildcardlist/create.go b/pkg/commands/ngwaf/wildcardlist/create.go index e30281e40..8c955cd3c 100644 --- a/pkg/commands/ngwaf/wildcardlist/create.go +++ b/pkg/commands/ngwaf/wildcardlist/create.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/ngwaf/ngwaflist" diff --git a/pkg/commands/ngwaf/wildcardlist/delete.go b/pkg/commands/ngwaf/wildcardlist/delete.go index cb554ee77..26248082f 100644 --- a/pkg/commands/ngwaf/wildcardlist/delete.go +++ b/pkg/commands/ngwaf/wildcardlist/delete.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/ngwaf/ngwaflist" diff --git a/pkg/commands/ngwaf/wildcardlist/get.go b/pkg/commands/ngwaf/wildcardlist/get.go index d3edc5edb..b0aa1779b 100644 --- a/pkg/commands/ngwaf/wildcardlist/get.go +++ b/pkg/commands/ngwaf/wildcardlist/get.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) // GetCommand calls the Fastly API to get an account-level wildcard list. diff --git a/pkg/commands/ngwaf/wildcardlist/list.go b/pkg/commands/ngwaf/wildcardlist/list.go index e1b132845..d3bc4129b 100644 --- a/pkg/commands/ngwaf/wildcardlist/list.go +++ b/pkg/commands/ngwaf/wildcardlist/list.go @@ -10,8 +10,8 @@ import ( "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) // ListCommand calls the Fastly API to list all wildcard lists for your API token. diff --git a/pkg/commands/ngwaf/wildcardlist/update.go b/pkg/commands/ngwaf/wildcardlist/update.go index d7239f64a..c39691236 100644 --- a/pkg/commands/ngwaf/wildcardlist/update.go +++ b/pkg/commands/ngwaf/wildcardlist/update.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/ngwaf/ngwaflist" diff --git a/pkg/commands/ngwaf/wildcardlist/wildcardlist_test.go b/pkg/commands/ngwaf/wildcardlist/wildcardlist_test.go index 47e21256f..a8c66506a 100644 --- a/pkg/commands/ngwaf/wildcardlist/wildcardlist_test.go +++ b/pkg/commands/ngwaf/wildcardlist/wildcardlist_test.go @@ -12,8 +12,8 @@ import ( sub "github.com/fastly/cli/pkg/commands/ngwaf/wildcardlist" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/lists" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/lists" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) const ( diff --git a/pkg/commands/ngwaf/workspace/alert/datadog/create.go b/pkg/commands/ngwaf/workspace/alert/datadog/create.go index a068c96b0..046823fd6 100644 --- a/pkg/commands/ngwaf/workspace/alert/datadog/create.go +++ b/pkg/commands/ngwaf/workspace/alert/datadog/create.go @@ -11,8 +11,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/datadog" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/datadog" ) // CreateCommand calls the Fastly API to create Datadog alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/datadog/datadog_test.go b/pkg/commands/ngwaf/workspace/alert/datadog/datadog_test.go index 51e9968dd..1c302118d 100644 --- a/pkg/commands/ngwaf/workspace/alert/datadog/datadog_test.go +++ b/pkg/commands/ngwaf/workspace/alert/datadog/datadog_test.go @@ -14,7 +14,7 @@ import ( sub "github.com/fastly/cli/pkg/commands/ngwaf/workspace/alert/datadog" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/datadog" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/datadog" ) const ( diff --git a/pkg/commands/ngwaf/workspace/alert/datadog/delete.go b/pkg/commands/ngwaf/workspace/alert/datadog/delete.go index 906323601..22482c759 100644 --- a/pkg/commands/ngwaf/workspace/alert/datadog/delete.go +++ b/pkg/commands/ngwaf/workspace/alert/datadog/delete.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/datadog" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/datadog" ) // DeleteCommand calls the Fastly API to delete Datadog alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/datadog/get.go b/pkg/commands/ngwaf/workspace/alert/datadog/get.go index 000f14cc0..9c8c1cccd 100644 --- a/pkg/commands/ngwaf/workspace/alert/datadog/get.go +++ b/pkg/commands/ngwaf/workspace/alert/datadog/get.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/datadog" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/datadog" ) // GetCommand calls the Fastly API to get Datadog alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/datadog/list.go b/pkg/commands/ngwaf/workspace/alert/datadog/list.go index 925bce05b..0a11082b7 100644 --- a/pkg/commands/ngwaf/workspace/alert/datadog/list.go +++ b/pkg/commands/ngwaf/workspace/alert/datadog/list.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/datadog" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/datadog" ) // ListCommand calls the Fastly API to list Datadog alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/datadog/update.go b/pkg/commands/ngwaf/workspace/alert/datadog/update.go index bb013eeb8..4579f07b0 100644 --- a/pkg/commands/ngwaf/workspace/alert/datadog/update.go +++ b/pkg/commands/ngwaf/workspace/alert/datadog/update.go @@ -11,8 +11,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/datadog" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/datadog" ) // UpdateCommand calls the Fastly API to update Datadog alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/jira/create.go b/pkg/commands/ngwaf/workspace/alert/jira/create.go index 3bef0e3f4..a19efe20c 100644 --- a/pkg/commands/ngwaf/workspace/alert/jira/create.go +++ b/pkg/commands/ngwaf/workspace/alert/jira/create.go @@ -10,8 +10,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/jira" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/jira" ) // CreateCommand calls the Fastly API to create Jira alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/jira/delete.go b/pkg/commands/ngwaf/workspace/alert/jira/delete.go index a7b3606ef..53c03b505 100644 --- a/pkg/commands/ngwaf/workspace/alert/jira/delete.go +++ b/pkg/commands/ngwaf/workspace/alert/jira/delete.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/jira" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/jira" ) // DeleteCommand calls the Fastly API to delete Jira alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/jira/get.go b/pkg/commands/ngwaf/workspace/alert/jira/get.go index 2f75d3043..29733b606 100644 --- a/pkg/commands/ngwaf/workspace/alert/jira/get.go +++ b/pkg/commands/ngwaf/workspace/alert/jira/get.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/jira" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/jira" ) // GetCommand calls the Fastly API to get Jira alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/jira/jira_test.go b/pkg/commands/ngwaf/workspace/alert/jira/jira_test.go index 1f8d5c06a..273f0ae02 100644 --- a/pkg/commands/ngwaf/workspace/alert/jira/jira_test.go +++ b/pkg/commands/ngwaf/workspace/alert/jira/jira_test.go @@ -14,7 +14,7 @@ import ( sub "github.com/fastly/cli/pkg/commands/ngwaf/workspace/alert/jira" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/jira" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/jira" ) const ( diff --git a/pkg/commands/ngwaf/workspace/alert/jira/list.go b/pkg/commands/ngwaf/workspace/alert/jira/list.go index 0be6a1239..b0e3d2144 100644 --- a/pkg/commands/ngwaf/workspace/alert/jira/list.go +++ b/pkg/commands/ngwaf/workspace/alert/jira/list.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/jira" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/jira" ) // ListCommand calls the Fastly API to list Jira alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/jira/update.go b/pkg/commands/ngwaf/workspace/alert/jira/update.go index a04046f33..dd82e2c83 100644 --- a/pkg/commands/ngwaf/workspace/alert/jira/update.go +++ b/pkg/commands/ngwaf/workspace/alert/jira/update.go @@ -10,8 +10,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/jira" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/jira" ) // UpdateCommand calls the Fastly API to update Jira alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/mailinglist/create.go b/pkg/commands/ngwaf/workspace/alert/mailinglist/create.go index 1c2319fc4..3701029c7 100644 --- a/pkg/commands/ngwaf/workspace/alert/mailinglist/create.go +++ b/pkg/commands/ngwaf/workspace/alert/mailinglist/create.go @@ -11,8 +11,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/mailinglist" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/mailinglist" ) // CreateCommand calls the Fastly API to create Mailing List alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/mailinglist/delete.go b/pkg/commands/ngwaf/workspace/alert/mailinglist/delete.go index d82e61baf..a84c05aed 100644 --- a/pkg/commands/ngwaf/workspace/alert/mailinglist/delete.go +++ b/pkg/commands/ngwaf/workspace/alert/mailinglist/delete.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/mailinglist" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/mailinglist" ) // DeleteCommand calls the Fastly API to delete Mailing List alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/mailinglist/get.go b/pkg/commands/ngwaf/workspace/alert/mailinglist/get.go index 1a57fb9a4..ed9f423ba 100644 --- a/pkg/commands/ngwaf/workspace/alert/mailinglist/get.go +++ b/pkg/commands/ngwaf/workspace/alert/mailinglist/get.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/mailinglist" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/mailinglist" ) // GetCommand calls the Fastly API to get Mailing List alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/mailinglist/list.go b/pkg/commands/ngwaf/workspace/alert/mailinglist/list.go index ade9864ce..ebde6cac7 100644 --- a/pkg/commands/ngwaf/workspace/alert/mailinglist/list.go +++ b/pkg/commands/ngwaf/workspace/alert/mailinglist/list.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/mailinglist" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/mailinglist" ) // ListCommand calls the Fastly API to list Mailing List alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/mailinglist/mailinglist_test.go b/pkg/commands/ngwaf/workspace/alert/mailinglist/mailinglist_test.go index 49498f294..a6bbb96b9 100644 --- a/pkg/commands/ngwaf/workspace/alert/mailinglist/mailinglist_test.go +++ b/pkg/commands/ngwaf/workspace/alert/mailinglist/mailinglist_test.go @@ -14,7 +14,7 @@ import ( sub "github.com/fastly/cli/pkg/commands/ngwaf/workspace/alert/mailinglist" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/mailinglist" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/mailinglist" ) const ( diff --git a/pkg/commands/ngwaf/workspace/alert/mailinglist/update.go b/pkg/commands/ngwaf/workspace/alert/mailinglist/update.go index 5676d0345..4b18fdae7 100644 --- a/pkg/commands/ngwaf/workspace/alert/mailinglist/update.go +++ b/pkg/commands/ngwaf/workspace/alert/mailinglist/update.go @@ -11,8 +11,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/mailinglist" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/mailinglist" ) // UpdateCommand calls the Fastly API to update Mailing List alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/microsoftteams/create.go b/pkg/commands/ngwaf/workspace/alert/microsoftteams/create.go index 885da2e96..d4e1eb4bd 100644 --- a/pkg/commands/ngwaf/workspace/alert/microsoftteams/create.go +++ b/pkg/commands/ngwaf/workspace/alert/microsoftteams/create.go @@ -11,8 +11,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/microsoftteams" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/microsoftteams" ) // CreateCommand calls the Fastly API to create Microsoft Teams alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/microsoftteams/delete.go b/pkg/commands/ngwaf/workspace/alert/microsoftteams/delete.go index c7ffada38..70c995254 100644 --- a/pkg/commands/ngwaf/workspace/alert/microsoftteams/delete.go +++ b/pkg/commands/ngwaf/workspace/alert/microsoftteams/delete.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/microsoftteams" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/microsoftteams" ) // DeleteCommand calls the Fastly API to delete Microsoft Teams alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/microsoftteams/get.go b/pkg/commands/ngwaf/workspace/alert/microsoftteams/get.go index 7765333b2..d6f5bee1e 100644 --- a/pkg/commands/ngwaf/workspace/alert/microsoftteams/get.go +++ b/pkg/commands/ngwaf/workspace/alert/microsoftteams/get.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/microsoftteams" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/microsoftteams" ) // GetCommand calls the Fastly API to get Microsoft Teams alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/microsoftteams/list.go b/pkg/commands/ngwaf/workspace/alert/microsoftteams/list.go index bedb52f8a..b0b053064 100644 --- a/pkg/commands/ngwaf/workspace/alert/microsoftteams/list.go +++ b/pkg/commands/ngwaf/workspace/alert/microsoftteams/list.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/microsoftteams" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/microsoftteams" ) // ListCommand calls the Fastly API to list Microsoft Teams alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/microsoftteams/microsoftteams_test.go b/pkg/commands/ngwaf/workspace/alert/microsoftteams/microsoftteams_test.go index 074c7ea36..2d71fc973 100644 --- a/pkg/commands/ngwaf/workspace/alert/microsoftteams/microsoftteams_test.go +++ b/pkg/commands/ngwaf/workspace/alert/microsoftteams/microsoftteams_test.go @@ -14,7 +14,7 @@ import ( sub "github.com/fastly/cli/pkg/commands/ngwaf/workspace/alert/microsoftteams" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/microsoftteams" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/microsoftteams" ) const ( diff --git a/pkg/commands/ngwaf/workspace/alert/microsoftteams/update.go b/pkg/commands/ngwaf/workspace/alert/microsoftteams/update.go index ccce23779..00f4924e0 100644 --- a/pkg/commands/ngwaf/workspace/alert/microsoftteams/update.go +++ b/pkg/commands/ngwaf/workspace/alert/microsoftteams/update.go @@ -11,8 +11,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/microsoftteams" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/microsoftteams" ) // UpdateCommand calls the Fastly API to update Microsoft Teams alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/opsgenie/create.go b/pkg/commands/ngwaf/workspace/alert/opsgenie/create.go index 9ee158897..a61deb867 100644 --- a/pkg/commands/ngwaf/workspace/alert/opsgenie/create.go +++ b/pkg/commands/ngwaf/workspace/alert/opsgenie/create.go @@ -11,8 +11,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/opsgenie" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/opsgenie" ) // CreateCommand calls the Fastly API to create Opsgenie alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/opsgenie/delete.go b/pkg/commands/ngwaf/workspace/alert/opsgenie/delete.go index d37803b41..1f065512e 100644 --- a/pkg/commands/ngwaf/workspace/alert/opsgenie/delete.go +++ b/pkg/commands/ngwaf/workspace/alert/opsgenie/delete.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/opsgenie" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/opsgenie" ) // DeleteCommand calls the Fastly API to delete Opsgenie alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/opsgenie/get.go b/pkg/commands/ngwaf/workspace/alert/opsgenie/get.go index 9f2b59386..e19cda511 100644 --- a/pkg/commands/ngwaf/workspace/alert/opsgenie/get.go +++ b/pkg/commands/ngwaf/workspace/alert/opsgenie/get.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/opsgenie" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/opsgenie" ) // GetCommand calls the Fastly API to get Opsgenie alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/opsgenie/list.go b/pkg/commands/ngwaf/workspace/alert/opsgenie/list.go index 4ac986e89..390ed1b4f 100644 --- a/pkg/commands/ngwaf/workspace/alert/opsgenie/list.go +++ b/pkg/commands/ngwaf/workspace/alert/opsgenie/list.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/opsgenie" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/opsgenie" ) // ListCommand calls the Fastly API to list Opsgenie alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/opsgenie/opsgenie_test.go b/pkg/commands/ngwaf/workspace/alert/opsgenie/opsgenie_test.go index 4e6db5198..fbdc2a917 100644 --- a/pkg/commands/ngwaf/workspace/alert/opsgenie/opsgenie_test.go +++ b/pkg/commands/ngwaf/workspace/alert/opsgenie/opsgenie_test.go @@ -14,7 +14,7 @@ import ( sub "github.com/fastly/cli/pkg/commands/ngwaf/workspace/alert/opsgenie" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/opsgenie" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/opsgenie" ) const ( diff --git a/pkg/commands/ngwaf/workspace/alert/opsgenie/update.go b/pkg/commands/ngwaf/workspace/alert/opsgenie/update.go index 2e774599f..e146c21ec 100644 --- a/pkg/commands/ngwaf/workspace/alert/opsgenie/update.go +++ b/pkg/commands/ngwaf/workspace/alert/opsgenie/update.go @@ -11,8 +11,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/opsgenie" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/opsgenie" ) // UpdateCommand calls the Fastly API to update Opsgenie alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/pagerduty/create.go b/pkg/commands/ngwaf/workspace/alert/pagerduty/create.go index 945bbc6e4..aaeb26b31 100644 --- a/pkg/commands/ngwaf/workspace/alert/pagerduty/create.go +++ b/pkg/commands/ngwaf/workspace/alert/pagerduty/create.go @@ -11,8 +11,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/pagerduty" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/pagerduty" ) // CreateCommand calls the Fastly API to create PagerDuty alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/pagerduty/delete.go b/pkg/commands/ngwaf/workspace/alert/pagerduty/delete.go index 1831c263c..8d247fe64 100644 --- a/pkg/commands/ngwaf/workspace/alert/pagerduty/delete.go +++ b/pkg/commands/ngwaf/workspace/alert/pagerduty/delete.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/pagerduty" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/pagerduty" ) // DeleteCommand calls the Fastly API to delete PagerDuty alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/pagerduty/get.go b/pkg/commands/ngwaf/workspace/alert/pagerduty/get.go index 48c68f599..cff00e811 100644 --- a/pkg/commands/ngwaf/workspace/alert/pagerduty/get.go +++ b/pkg/commands/ngwaf/workspace/alert/pagerduty/get.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/pagerduty" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/pagerduty" ) // GetCommand calls the Fastly API to get PagerDuty alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/pagerduty/list.go b/pkg/commands/ngwaf/workspace/alert/pagerduty/list.go index c49ae72a3..024ea16f5 100644 --- a/pkg/commands/ngwaf/workspace/alert/pagerduty/list.go +++ b/pkg/commands/ngwaf/workspace/alert/pagerduty/list.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/pagerduty" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/pagerduty" ) // ListCommand calls the Fastly API to list PagerDuty alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/pagerduty/pagerduty_test.go b/pkg/commands/ngwaf/workspace/alert/pagerduty/pagerduty_test.go index d95133c4a..83c171e15 100644 --- a/pkg/commands/ngwaf/workspace/alert/pagerduty/pagerduty_test.go +++ b/pkg/commands/ngwaf/workspace/alert/pagerduty/pagerduty_test.go @@ -14,7 +14,7 @@ import ( sub "github.com/fastly/cli/pkg/commands/ngwaf/workspace/alert/pagerduty" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/pagerduty" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/pagerduty" ) const ( diff --git a/pkg/commands/ngwaf/workspace/alert/pagerduty/update.go b/pkg/commands/ngwaf/workspace/alert/pagerduty/update.go index 39cc9f6c3..1d618aa3a 100644 --- a/pkg/commands/ngwaf/workspace/alert/pagerduty/update.go +++ b/pkg/commands/ngwaf/workspace/alert/pagerduty/update.go @@ -11,8 +11,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/pagerduty" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/pagerduty" ) // UpdateCommand calls the Fastly API to update PagerDuty alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/slack/create.go b/pkg/commands/ngwaf/workspace/alert/slack/create.go index 1c8c8c861..46437d69c 100644 --- a/pkg/commands/ngwaf/workspace/alert/slack/create.go +++ b/pkg/commands/ngwaf/workspace/alert/slack/create.go @@ -11,8 +11,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/slack" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/slack" ) // CreateCommand calls the Fastly API to create Slack alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/slack/delete.go b/pkg/commands/ngwaf/workspace/alert/slack/delete.go index da31afacf..817d33110 100644 --- a/pkg/commands/ngwaf/workspace/alert/slack/delete.go +++ b/pkg/commands/ngwaf/workspace/alert/slack/delete.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/slack" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/slack" ) // DeleteCommand calls the Fastly API to delete Slack alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/slack/get.go b/pkg/commands/ngwaf/workspace/alert/slack/get.go index dbd149b6b..aa309f951 100644 --- a/pkg/commands/ngwaf/workspace/alert/slack/get.go +++ b/pkg/commands/ngwaf/workspace/alert/slack/get.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/slack" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/slack" ) // GetCommand calls the Fastly API to get Slack alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/slack/list.go b/pkg/commands/ngwaf/workspace/alert/slack/list.go index 1427212db..927c90e13 100644 --- a/pkg/commands/ngwaf/workspace/alert/slack/list.go +++ b/pkg/commands/ngwaf/workspace/alert/slack/list.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/slack" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/slack" ) // ListCommand calls the Fastly API to list Slack alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/slack/slack_test.go b/pkg/commands/ngwaf/workspace/alert/slack/slack_test.go index fac1478c8..02b7541bd 100644 --- a/pkg/commands/ngwaf/workspace/alert/slack/slack_test.go +++ b/pkg/commands/ngwaf/workspace/alert/slack/slack_test.go @@ -14,7 +14,7 @@ import ( sub "github.com/fastly/cli/pkg/commands/ngwaf/workspace/alert/slack" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/slack" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/slack" ) const ( diff --git a/pkg/commands/ngwaf/workspace/alert/slack/update.go b/pkg/commands/ngwaf/workspace/alert/slack/update.go index 29c7c3753..dd1b842ae 100644 --- a/pkg/commands/ngwaf/workspace/alert/slack/update.go +++ b/pkg/commands/ngwaf/workspace/alert/slack/update.go @@ -11,8 +11,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/slack" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/slack" ) // UpdateCommand calls the Fastly API to update Slack alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/webhook/create.go b/pkg/commands/ngwaf/workspace/alert/webhook/create.go index 09947808b..33497cfd8 100644 --- a/pkg/commands/ngwaf/workspace/alert/webhook/create.go +++ b/pkg/commands/ngwaf/workspace/alert/webhook/create.go @@ -11,8 +11,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/webhook" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/webhook" ) // CreateCommand calls the Fastly API to create Webhook alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/webhook/delete.go b/pkg/commands/ngwaf/workspace/alert/webhook/delete.go index b19a8cb0b..ee7409c02 100644 --- a/pkg/commands/ngwaf/workspace/alert/webhook/delete.go +++ b/pkg/commands/ngwaf/workspace/alert/webhook/delete.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/webhook" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/webhook" ) // DeleteCommand calls the Fastly API to delete Webhook alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/webhook/get-signing-key.go b/pkg/commands/ngwaf/workspace/alert/webhook/get-signing-key.go index d81185fdd..cd1266d9c 100644 --- a/pkg/commands/ngwaf/workspace/alert/webhook/get-signing-key.go +++ b/pkg/commands/ngwaf/workspace/alert/webhook/get-signing-key.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/webhook" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/webhook" ) // GetSigningKeyCommand calls the Fastly API to get Webhook alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/webhook/get.go b/pkg/commands/ngwaf/workspace/alert/webhook/get.go index d74d1a38d..f73641db5 100644 --- a/pkg/commands/ngwaf/workspace/alert/webhook/get.go +++ b/pkg/commands/ngwaf/workspace/alert/webhook/get.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/webhook" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/webhook" ) // GetCommand calls the Fastly API to get Webhook alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/webhook/list.go b/pkg/commands/ngwaf/workspace/alert/webhook/list.go index 78ced9ff7..bd2039c17 100644 --- a/pkg/commands/ngwaf/workspace/alert/webhook/list.go +++ b/pkg/commands/ngwaf/workspace/alert/webhook/list.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/webhook" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/webhook" ) // ListCommand calls the Fastly API to list Webhook alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/webhook/rotate-signing-key.go b/pkg/commands/ngwaf/workspace/alert/webhook/rotate-signing-key.go index 0836b8786..c80e1cdd8 100644 --- a/pkg/commands/ngwaf/workspace/alert/webhook/rotate-signing-key.go +++ b/pkg/commands/ngwaf/workspace/alert/webhook/rotate-signing-key.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/webhook" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/webhook" ) // RotateSigningKeyCommand calls the Fastly API to get Webhook alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/webhook/update.go b/pkg/commands/ngwaf/workspace/alert/webhook/update.go index b2ee170ea..8c139e985 100644 --- a/pkg/commands/ngwaf/workspace/alert/webhook/update.go +++ b/pkg/commands/ngwaf/workspace/alert/webhook/update.go @@ -11,8 +11,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/webhook" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/webhook" ) // UpdateCommand calls the Fastly API to update Webhook alerts. diff --git a/pkg/commands/ngwaf/workspace/alert/webhook/webhook_test.go b/pkg/commands/ngwaf/workspace/alert/webhook/webhook_test.go index 45d35b048..1e1b9cf9c 100644 --- a/pkg/commands/ngwaf/workspace/alert/webhook/webhook_test.go +++ b/pkg/commands/ngwaf/workspace/alert/webhook/webhook_test.go @@ -14,7 +14,7 @@ import ( sub "github.com/fastly/cli/pkg/commands/ngwaf/workspace/alert/webhook" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/webhook" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/webhook" ) const ( diff --git a/pkg/commands/ngwaf/workspace/countrylist/countrylist_test.go b/pkg/commands/ngwaf/workspace/countrylist/countrylist_test.go index ada17fb96..953184040 100644 --- a/pkg/commands/ngwaf/workspace/countrylist/countrylist_test.go +++ b/pkg/commands/ngwaf/workspace/countrylist/countrylist_test.go @@ -13,8 +13,8 @@ import ( sub2 "github.com/fastly/cli/pkg/commands/ngwaf/workspace/countrylist" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/lists" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/lists" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) const ( diff --git a/pkg/commands/ngwaf/workspace/countrylist/create.go b/pkg/commands/ngwaf/workspace/countrylist/create.go index 5211b58c5..e4a2e9919 100644 --- a/pkg/commands/ngwaf/workspace/countrylist/create.go +++ b/pkg/commands/ngwaf/workspace/countrylist/create.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/ngwaf/ngwaflist" diff --git a/pkg/commands/ngwaf/workspace/countrylist/delete.go b/pkg/commands/ngwaf/workspace/countrylist/delete.go index aa2bd5a24..86ae9eab0 100644 --- a/pkg/commands/ngwaf/workspace/countrylist/delete.go +++ b/pkg/commands/ngwaf/workspace/countrylist/delete.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/ngwaf/ngwaflist" diff --git a/pkg/commands/ngwaf/workspace/countrylist/get.go b/pkg/commands/ngwaf/workspace/countrylist/get.go index 9c59b4e0e..e2eb35f53 100644 --- a/pkg/commands/ngwaf/workspace/countrylist/get.go +++ b/pkg/commands/ngwaf/workspace/countrylist/get.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) // GetCommand calls the Fastly API to get a workspace-level country list. diff --git a/pkg/commands/ngwaf/workspace/countrylist/list.go b/pkg/commands/ngwaf/workspace/countrylist/list.go index 66ad674e6..6d0ed00dd 100644 --- a/pkg/commands/ngwaf/workspace/countrylist/list.go +++ b/pkg/commands/ngwaf/workspace/countrylist/list.go @@ -10,8 +10,8 @@ import ( "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) // ListCommand calls the Fastly API to list all country lists for your workspace. diff --git a/pkg/commands/ngwaf/workspace/countrylist/update.go b/pkg/commands/ngwaf/workspace/countrylist/update.go index 8a4b00458..2f3ae8cf3 100644 --- a/pkg/commands/ngwaf/workspace/countrylist/update.go +++ b/pkg/commands/ngwaf/workspace/countrylist/update.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/ngwaf/ngwaflist" diff --git a/pkg/commands/ngwaf/workspace/create.go b/pkg/commands/ngwaf/workspace/create.go index ee045b725..f177a58fe 100644 --- a/pkg/commands/ngwaf/workspace/create.go +++ b/pkg/commands/ngwaf/workspace/create.go @@ -7,8 +7,8 @@ import ( "strconv" "strings" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ngwaf/workspace/customsignal/create.go b/pkg/commands/ngwaf/workspace/customsignal/create.go index 475faed18..c9e45692d 100644 --- a/pkg/commands/ngwaf/workspace/customsignal/create.go +++ b/pkg/commands/ngwaf/workspace/customsignal/create.go @@ -5,9 +5,9 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/signals" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/signals" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ngwaf/workspace/customsignal/customsignal_test.go b/pkg/commands/ngwaf/workspace/customsignal/customsignal_test.go index 293df66c6..d794ecf76 100644 --- a/pkg/commands/ngwaf/workspace/customsignal/customsignal_test.go +++ b/pkg/commands/ngwaf/workspace/customsignal/customsignal_test.go @@ -13,8 +13,8 @@ import ( sub2 "github.com/fastly/cli/pkg/commands/ngwaf/workspace/customsignal" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/signals" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/signals" ) const ( diff --git a/pkg/commands/ngwaf/workspace/customsignal/delete.go b/pkg/commands/ngwaf/workspace/customsignal/delete.go index 9466ec8ba..27087d4e8 100644 --- a/pkg/commands/ngwaf/workspace/customsignal/delete.go +++ b/pkg/commands/ngwaf/workspace/customsignal/delete.go @@ -5,10 +5,10 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/signals" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/signals" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ngwaf/workspace/customsignal/get.go b/pkg/commands/ngwaf/workspace/customsignal/get.go index 60f32b1ae..2f45a93bb 100644 --- a/pkg/commands/ngwaf/workspace/customsignal/get.go +++ b/pkg/commands/ngwaf/workspace/customsignal/get.go @@ -5,10 +5,10 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/signals" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/signals" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ngwaf/workspace/customsignal/list.go b/pkg/commands/ngwaf/workspace/customsignal/list.go index 5be09ad83..e0968ba4b 100644 --- a/pkg/commands/ngwaf/workspace/customsignal/list.go +++ b/pkg/commands/ngwaf/workspace/customsignal/list.go @@ -9,10 +9,10 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/signals" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/signals" ) // ListCommand calls the Fastly API to list all workspace-level custom signals for your API token. diff --git a/pkg/commands/ngwaf/workspace/customsignal/update.go b/pkg/commands/ngwaf/workspace/customsignal/update.go index 2f5f3fe94..9fa1715ee 100644 --- a/pkg/commands/ngwaf/workspace/customsignal/update.go +++ b/pkg/commands/ngwaf/workspace/customsignal/update.go @@ -5,9 +5,9 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/signals" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/signals" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ngwaf/workspace/delete.go b/pkg/commands/ngwaf/workspace/delete.go index cbd28efd8..2d443ea9d 100644 --- a/pkg/commands/ngwaf/workspace/delete.go +++ b/pkg/commands/ngwaf/workspace/delete.go @@ -5,9 +5,9 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ngwaf/workspace/get.go b/pkg/commands/ngwaf/workspace/get.go index a75b15634..20a360e73 100644 --- a/pkg/commands/ngwaf/workspace/get.go +++ b/pkg/commands/ngwaf/workspace/get.go @@ -5,9 +5,9 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ngwaf/workspace/iplist/create.go b/pkg/commands/ngwaf/workspace/iplist/create.go index 61ada088e..f9574c747 100644 --- a/pkg/commands/ngwaf/workspace/iplist/create.go +++ b/pkg/commands/ngwaf/workspace/iplist/create.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/ngwaf/ngwaflist" diff --git a/pkg/commands/ngwaf/workspace/iplist/delete.go b/pkg/commands/ngwaf/workspace/iplist/delete.go index b1419d0d2..6a08fb0cf 100644 --- a/pkg/commands/ngwaf/workspace/iplist/delete.go +++ b/pkg/commands/ngwaf/workspace/iplist/delete.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/ngwaf/ngwaflist" diff --git a/pkg/commands/ngwaf/workspace/iplist/get.go b/pkg/commands/ngwaf/workspace/iplist/get.go index f6082c3f6..a7e07d64b 100644 --- a/pkg/commands/ngwaf/workspace/iplist/get.go +++ b/pkg/commands/ngwaf/workspace/iplist/get.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) // GetCommand calls the Fastly API to get a workspace-level ip list. diff --git a/pkg/commands/ngwaf/workspace/iplist/iplist_test.go b/pkg/commands/ngwaf/workspace/iplist/iplist_test.go index 9d1e3bd51..3906cc6a8 100644 --- a/pkg/commands/ngwaf/workspace/iplist/iplist_test.go +++ b/pkg/commands/ngwaf/workspace/iplist/iplist_test.go @@ -13,8 +13,8 @@ import ( sub2 "github.com/fastly/cli/pkg/commands/ngwaf/workspace/iplist" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/lists" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/lists" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) const ( diff --git a/pkg/commands/ngwaf/workspace/iplist/list.go b/pkg/commands/ngwaf/workspace/iplist/list.go index 0f80cd534..3f0064bd1 100644 --- a/pkg/commands/ngwaf/workspace/iplist/list.go +++ b/pkg/commands/ngwaf/workspace/iplist/list.go @@ -10,8 +10,8 @@ import ( "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) // ListCommand calls the Fastly API to list all ip lists for your workspace. diff --git a/pkg/commands/ngwaf/workspace/iplist/update.go b/pkg/commands/ngwaf/workspace/iplist/update.go index d01d99919..fe780a6b8 100644 --- a/pkg/commands/ngwaf/workspace/iplist/update.go +++ b/pkg/commands/ngwaf/workspace/iplist/update.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/ngwaf/ngwaflist" diff --git a/pkg/commands/ngwaf/workspace/list.go b/pkg/commands/ngwaf/workspace/list.go index ed4192dc3..91bf8cf1a 100644 --- a/pkg/commands/ngwaf/workspace/list.go +++ b/pkg/commands/ngwaf/workspace/list.go @@ -9,9 +9,9 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces" ) // ListCommand calls the Fastly API to list all Workspaces for your API token. @@ -57,6 +57,6 @@ func (c *ListCommand) Exec(_ io.Reader, out io.Writer) error { return err } - text.PrintWorkspaceTbl(out, workspaces.Data) + text.PrintWorkspaceTbl(out, workspaces) return nil } diff --git a/pkg/commands/ngwaf/workspace/redaction/create.go b/pkg/commands/ngwaf/workspace/redaction/create.go index 107f1489e..7ff0967e7 100644 --- a/pkg/commands/ngwaf/workspace/redaction/create.go +++ b/pkg/commands/ngwaf/workspace/redaction/create.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/redactions" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/redactions" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ngwaf/workspace/redaction/delete.go b/pkg/commands/ngwaf/workspace/redaction/delete.go index 0caab681a..e70318081 100644 --- a/pkg/commands/ngwaf/workspace/redaction/delete.go +++ b/pkg/commands/ngwaf/workspace/redaction/delete.go @@ -5,9 +5,9 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/redactions" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/redactions" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ngwaf/workspace/redaction/list.go b/pkg/commands/ngwaf/workspace/redaction/list.go index b45022b1c..401f189be 100644 --- a/pkg/commands/ngwaf/workspace/redaction/list.go +++ b/pkg/commands/ngwaf/workspace/redaction/list.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/redactions" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/redactions" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ngwaf/workspace/redaction/redaction_test.go b/pkg/commands/ngwaf/workspace/redaction/redaction_test.go index 49fc2f4f3..ece7e3fe8 100644 --- a/pkg/commands/ngwaf/workspace/redaction/redaction_test.go +++ b/pkg/commands/ngwaf/workspace/redaction/redaction_test.go @@ -13,7 +13,7 @@ import ( sub "github.com/fastly/cli/pkg/commands/ngwaf/workspace/redaction" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/redactions" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/redactions" ) const ( diff --git a/pkg/commands/ngwaf/workspace/redaction/retrieve.go b/pkg/commands/ngwaf/workspace/redaction/retrieve.go index 0c1b7b699..fb046ad96 100644 --- a/pkg/commands/ngwaf/workspace/redaction/retrieve.go +++ b/pkg/commands/ngwaf/workspace/redaction/retrieve.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/redactions" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/redactions" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ngwaf/workspace/redaction/update.go b/pkg/commands/ngwaf/workspace/redaction/update.go index 292c1e3f0..953d99cde 100644 --- a/pkg/commands/ngwaf/workspace/redaction/update.go +++ b/pkg/commands/ngwaf/workspace/redaction/update.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/redactions" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/redactions" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ngwaf/workspace/rule/create.go b/pkg/commands/ngwaf/workspace/rule/create.go index d3cdf24ae..71e027698 100644 --- a/pkg/commands/ngwaf/workspace/rule/create.go +++ b/pkg/commands/ngwaf/workspace/rule/create.go @@ -9,9 +9,9 @@ import ( "os" "path/filepath" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/rules" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/rules" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ngwaf/workspace/rule/delete.go b/pkg/commands/ngwaf/workspace/rule/delete.go index 210ad7a06..decaebdcb 100644 --- a/pkg/commands/ngwaf/workspace/rule/delete.go +++ b/pkg/commands/ngwaf/workspace/rule/delete.go @@ -5,10 +5,10 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/rules" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/rules" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ngwaf/workspace/rule/get.go b/pkg/commands/ngwaf/workspace/rule/get.go index 45eeb92db..98594d5f3 100644 --- a/pkg/commands/ngwaf/workspace/rule/get.go +++ b/pkg/commands/ngwaf/workspace/rule/get.go @@ -5,10 +5,10 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/rules" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/rules" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ngwaf/workspace/rule/list.go b/pkg/commands/ngwaf/workspace/rule/list.go index 438938e00..3a207cbd6 100644 --- a/pkg/commands/ngwaf/workspace/rule/list.go +++ b/pkg/commands/ngwaf/workspace/rule/list.go @@ -10,10 +10,10 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/rules" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/rules" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) // ListCommand calls the Fastly API to list all workspace-level rules for your API token. @@ -95,6 +95,6 @@ func (c *ListCommand) Exec(_ io.Reader, out io.Writer) error { return err } - text.PrintRuleTbl(out, rules.Data) + text.PrintRuleTbl(out, rules) return nil } diff --git a/pkg/commands/ngwaf/workspace/rule/rule_test.go b/pkg/commands/ngwaf/workspace/rule/rule_test.go index 5523ac805..7e2707628 100644 --- a/pkg/commands/ngwaf/workspace/rule/rule_test.go +++ b/pkg/commands/ngwaf/workspace/rule/rule_test.go @@ -13,8 +13,8 @@ import ( sub2 "github.com/fastly/cli/pkg/commands/ngwaf/workspace/rule" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/rules" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/rules" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) const ( @@ -357,7 +357,7 @@ func TestRuleList(t *testing.T) { }, }, }, - WantOutput: fstfmt.EncodeJSON(rulesObject), + WantOutput: fstfmt.EncodeJSON(rulesObject.Data), }, } diff --git a/pkg/commands/ngwaf/workspace/rule/update.go b/pkg/commands/ngwaf/workspace/rule/update.go index c550d6926..bcee04925 100644 --- a/pkg/commands/ngwaf/workspace/rule/update.go +++ b/pkg/commands/ngwaf/workspace/rule/update.go @@ -9,9 +9,9 @@ import ( "os" "path/filepath" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/rules" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/rules" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ngwaf/workspace/signallist/create.go b/pkg/commands/ngwaf/workspace/signallist/create.go index e65e5fd22..6b3ebbae7 100644 --- a/pkg/commands/ngwaf/workspace/signallist/create.go +++ b/pkg/commands/ngwaf/workspace/signallist/create.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/ngwaf/ngwaflist" diff --git a/pkg/commands/ngwaf/workspace/signallist/delete.go b/pkg/commands/ngwaf/workspace/signallist/delete.go index 48ac54133..2f93cdca8 100644 --- a/pkg/commands/ngwaf/workspace/signallist/delete.go +++ b/pkg/commands/ngwaf/workspace/signallist/delete.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/ngwaf/ngwaflist" diff --git a/pkg/commands/ngwaf/workspace/signallist/get.go b/pkg/commands/ngwaf/workspace/signallist/get.go index 5b8357197..1f2e1ae62 100644 --- a/pkg/commands/ngwaf/workspace/signallist/get.go +++ b/pkg/commands/ngwaf/workspace/signallist/get.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) // GetCommand calls the Fastly API to get a workspace-level signal list. diff --git a/pkg/commands/ngwaf/workspace/signallist/list.go b/pkg/commands/ngwaf/workspace/signallist/list.go index 5633ddf9c..b31733a8e 100644 --- a/pkg/commands/ngwaf/workspace/signallist/list.go +++ b/pkg/commands/ngwaf/workspace/signallist/list.go @@ -10,8 +10,8 @@ import ( "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) // ListCommand calls the Fastly API to list all signal lists for your workspace. diff --git a/pkg/commands/ngwaf/workspace/signallist/signallist_test.go b/pkg/commands/ngwaf/workspace/signallist/signallist_test.go index 299618bf3..6d75c2f8b 100644 --- a/pkg/commands/ngwaf/workspace/signallist/signallist_test.go +++ b/pkg/commands/ngwaf/workspace/signallist/signallist_test.go @@ -13,8 +13,8 @@ import ( sub "github.com/fastly/cli/pkg/commands/ngwaf/workspace" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/lists" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/lists" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) const ( diff --git a/pkg/commands/ngwaf/workspace/signallist/update.go b/pkg/commands/ngwaf/workspace/signallist/update.go index c67e27c87..ea9f4fd5d 100644 --- a/pkg/commands/ngwaf/workspace/signallist/update.go +++ b/pkg/commands/ngwaf/workspace/signallist/update.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/ngwaf/ngwaflist" diff --git a/pkg/commands/ngwaf/workspace/stringlist/create.go b/pkg/commands/ngwaf/workspace/stringlist/create.go index cb364a08a..6539ee426 100644 --- a/pkg/commands/ngwaf/workspace/stringlist/create.go +++ b/pkg/commands/ngwaf/workspace/stringlist/create.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/ngwaf/ngwaflist" diff --git a/pkg/commands/ngwaf/workspace/stringlist/delete.go b/pkg/commands/ngwaf/workspace/stringlist/delete.go index aaa117a35..8e0105e7c 100644 --- a/pkg/commands/ngwaf/workspace/stringlist/delete.go +++ b/pkg/commands/ngwaf/workspace/stringlist/delete.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/ngwaf/ngwaflist" diff --git a/pkg/commands/ngwaf/workspace/stringlist/get.go b/pkg/commands/ngwaf/workspace/stringlist/get.go index 76ea97c4b..ba4fedbe3 100644 --- a/pkg/commands/ngwaf/workspace/stringlist/get.go +++ b/pkg/commands/ngwaf/workspace/stringlist/get.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) // GetCommand calls the Fastly API to get a workspace-level string list. diff --git a/pkg/commands/ngwaf/workspace/stringlist/list.go b/pkg/commands/ngwaf/workspace/stringlist/list.go index 3d475d918..2bf1b088a 100644 --- a/pkg/commands/ngwaf/workspace/stringlist/list.go +++ b/pkg/commands/ngwaf/workspace/stringlist/list.go @@ -10,8 +10,8 @@ import ( "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) // ListCommand calls the Fastly API to list all string lists for your workspace. diff --git a/pkg/commands/ngwaf/workspace/stringlist/stringlist_test.go b/pkg/commands/ngwaf/workspace/stringlist/stringlist_test.go index 34d25812d..907ad9bd4 100644 --- a/pkg/commands/ngwaf/workspace/stringlist/stringlist_test.go +++ b/pkg/commands/ngwaf/workspace/stringlist/stringlist_test.go @@ -13,8 +13,8 @@ import ( sub "github.com/fastly/cli/pkg/commands/ngwaf/workspace" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/lists" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/lists" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) const ( diff --git a/pkg/commands/ngwaf/workspace/stringlist/update.go b/pkg/commands/ngwaf/workspace/stringlist/update.go index 83da4c69c..37c486c4d 100644 --- a/pkg/commands/ngwaf/workspace/stringlist/update.go +++ b/pkg/commands/ngwaf/workspace/stringlist/update.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/ngwaf/ngwaflist" diff --git a/pkg/commands/ngwaf/workspace/threshold/create.go b/pkg/commands/ngwaf/workspace/threshold/create.go index 0120f3e52..505ce2c94 100644 --- a/pkg/commands/ngwaf/workspace/threshold/create.go +++ b/pkg/commands/ngwaf/workspace/threshold/create.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/thresholds" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/thresholds" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ngwaf/workspace/threshold/delete.go b/pkg/commands/ngwaf/workspace/threshold/delete.go index b46599c89..2f38100a7 100644 --- a/pkg/commands/ngwaf/workspace/threshold/delete.go +++ b/pkg/commands/ngwaf/workspace/threshold/delete.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/thresholds" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/thresholds" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ngwaf/workspace/threshold/get.go b/pkg/commands/ngwaf/workspace/threshold/get.go index 71e31d8bc..da929d62a 100644 --- a/pkg/commands/ngwaf/workspace/threshold/get.go +++ b/pkg/commands/ngwaf/workspace/threshold/get.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/thresholds" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/thresholds" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ngwaf/workspace/threshold/list.go b/pkg/commands/ngwaf/workspace/threshold/list.go index d8cc18304..f04af8d83 100644 --- a/pkg/commands/ngwaf/workspace/threshold/list.go +++ b/pkg/commands/ngwaf/workspace/threshold/list.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/thresholds" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/thresholds" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ngwaf/workspace/threshold/threshold_test.go b/pkg/commands/ngwaf/workspace/threshold/threshold_test.go index 1d8e3f6e0..77bc2ed03 100644 --- a/pkg/commands/ngwaf/workspace/threshold/threshold_test.go +++ b/pkg/commands/ngwaf/workspace/threshold/threshold_test.go @@ -13,7 +13,7 @@ import ( sub "github.com/fastly/cli/pkg/commands/ngwaf/workspace/threshold" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/thresholds" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/thresholds" ) const ( diff --git a/pkg/commands/ngwaf/workspace/threshold/update.go b/pkg/commands/ngwaf/workspace/threshold/update.go index 160512be4..2df6130a3 100644 --- a/pkg/commands/ngwaf/workspace/threshold/update.go +++ b/pkg/commands/ngwaf/workspace/threshold/update.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/thresholds" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/thresholds" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ngwaf/workspace/timeseries/get.go b/pkg/commands/ngwaf/workspace/timeseries/get.go index b92d3b7b6..473494844 100644 --- a/pkg/commands/ngwaf/workspace/timeseries/get.go +++ b/pkg/commands/ngwaf/workspace/timeseries/get.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - gots "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/timeseries" + "github.com/fastly/go-fastly/v18/fastly" + gots "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/timeseries" ) // GetCommand calls the Fastly API to get workspace-level time series metrics. diff --git a/pkg/commands/ngwaf/workspace/timeseries/timeseries_test.go b/pkg/commands/ngwaf/workspace/timeseries/timeseries_test.go index ab3f8fad3..02fa9e79e 100644 --- a/pkg/commands/ngwaf/workspace/timeseries/timeseries_test.go +++ b/pkg/commands/ngwaf/workspace/timeseries/timeseries_test.go @@ -13,7 +13,7 @@ import ( sub "github.com/fastly/cli/pkg/commands/ngwaf/workspace/timeseries" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - gots "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/timeseries" + gots "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/timeseries" ) const ( diff --git a/pkg/commands/ngwaf/workspace/update.go b/pkg/commands/ngwaf/workspace/update.go index 259d17eb4..46d25d8c8 100644 --- a/pkg/commands/ngwaf/workspace/update.go +++ b/pkg/commands/ngwaf/workspace/update.go @@ -7,8 +7,8 @@ import ( "strconv" "strings" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ngwaf/workspace/virtualpatch/list.go b/pkg/commands/ngwaf/workspace/virtualpatch/list.go index 0f8bc93ed..639a5fdfb 100644 --- a/pkg/commands/ngwaf/workspace/virtualpatch/list.go +++ b/pkg/commands/ngwaf/workspace/virtualpatch/list.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/virtualpatches" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/virtualpatches" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ngwaf/workspace/virtualpatch/retrieve.go b/pkg/commands/ngwaf/workspace/virtualpatch/retrieve.go index 11cb1d7fd..68bde327e 100644 --- a/pkg/commands/ngwaf/workspace/virtualpatch/retrieve.go +++ b/pkg/commands/ngwaf/workspace/virtualpatch/retrieve.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/virtualpatches" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/virtualpatches" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ngwaf/workspace/virtualpatch/update.go b/pkg/commands/ngwaf/workspace/virtualpatch/update.go index 8f2a26155..e53ebf076 100644 --- a/pkg/commands/ngwaf/workspace/virtualpatch/update.go +++ b/pkg/commands/ngwaf/workspace/virtualpatch/update.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/virtualpatches" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/virtualpatches" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ngwaf/workspace/virtualpatch/virtualpatch_test.go b/pkg/commands/ngwaf/workspace/virtualpatch/virtualpatch_test.go index 48d190e48..4ae087566 100644 --- a/pkg/commands/ngwaf/workspace/virtualpatch/virtualpatch_test.go +++ b/pkg/commands/ngwaf/workspace/virtualpatch/virtualpatch_test.go @@ -13,7 +13,7 @@ import ( sub "github.com/fastly/cli/pkg/commands/ngwaf/workspace/virtualpatch" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/virtualpatches" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/virtualpatches" ) const ( diff --git a/pkg/commands/ngwaf/workspace/wildcardlist/create.go b/pkg/commands/ngwaf/workspace/wildcardlist/create.go index f36a4b202..46117e7d6 100644 --- a/pkg/commands/ngwaf/workspace/wildcardlist/create.go +++ b/pkg/commands/ngwaf/workspace/wildcardlist/create.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/ngwaf/ngwaflist" diff --git a/pkg/commands/ngwaf/workspace/wildcardlist/delete.go b/pkg/commands/ngwaf/workspace/wildcardlist/delete.go index 8ea325adf..abb0c8c17 100644 --- a/pkg/commands/ngwaf/workspace/wildcardlist/delete.go +++ b/pkg/commands/ngwaf/workspace/wildcardlist/delete.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/ngwaf/ngwaflist" diff --git a/pkg/commands/ngwaf/workspace/wildcardlist/get.go b/pkg/commands/ngwaf/workspace/wildcardlist/get.go index 9bd968074..86a496105 100644 --- a/pkg/commands/ngwaf/workspace/wildcardlist/get.go +++ b/pkg/commands/ngwaf/workspace/wildcardlist/get.go @@ -9,8 +9,8 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) // GetCommand calls the Fastly API to get a workspace-level wildcard list. diff --git a/pkg/commands/ngwaf/workspace/wildcardlist/list.go b/pkg/commands/ngwaf/workspace/wildcardlist/list.go index 1206dc2ce..8b0285b99 100644 --- a/pkg/commands/ngwaf/workspace/wildcardlist/list.go +++ b/pkg/commands/ngwaf/workspace/wildcardlist/list.go @@ -10,8 +10,8 @@ import ( "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) // ListCommand calls the Fastly API to list all wildcard lists for your API token. diff --git a/pkg/commands/ngwaf/workspace/wildcardlist/update.go b/pkg/commands/ngwaf/workspace/wildcardlist/update.go index 0be0456d2..828c4bedf 100644 --- a/pkg/commands/ngwaf/workspace/wildcardlist/update.go +++ b/pkg/commands/ngwaf/workspace/wildcardlist/update.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/ngwaf/ngwaflist" diff --git a/pkg/commands/ngwaf/workspace/wildcardlist/wildcardlist_test.go b/pkg/commands/ngwaf/workspace/wildcardlist/wildcardlist_test.go index e7ed810f7..62a295ae0 100644 --- a/pkg/commands/ngwaf/workspace/wildcardlist/wildcardlist_test.go +++ b/pkg/commands/ngwaf/workspace/wildcardlist/wildcardlist_test.go @@ -13,8 +13,8 @@ import ( sub2 "github.com/fastly/cli/pkg/commands/ngwaf/workspace/wildcardlist" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/lists" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/scope" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/lists" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/scope" ) const ( diff --git a/pkg/commands/ngwaf/workspace/workspace_test.go b/pkg/commands/ngwaf/workspace/workspace_test.go index cfd7e4c01..8c84f707d 100644 --- a/pkg/commands/ngwaf/workspace/workspace_test.go +++ b/pkg/commands/ngwaf/workspace/workspace_test.go @@ -12,7 +12,7 @@ import ( sub "github.com/fastly/cli/pkg/commands/ngwaf/workspace" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces" ) const ( @@ -297,7 +297,7 @@ func TestWorkspaceList(t *testing.T) { }, }, }, - WantOutput: fstfmt.EncodeJSON(workspacesObject), + WantOutput: fstfmt.EncodeJSON(workspacesObject.Data), }, } diff --git a/pkg/commands/objectstorage/accesskeys/accesskeys_test.go b/pkg/commands/objectstorage/accesskeys/accesskeys_test.go index 8048b373a..68e5845d7 100644 --- a/pkg/commands/objectstorage/accesskeys/accesskeys_test.go +++ b/pkg/commands/objectstorage/accesskeys/accesskeys_test.go @@ -12,7 +12,7 @@ import ( sub "github.com/fastly/cli/pkg/commands/objectstorage/accesskeys" fstfmt "github.com/fastly/cli/pkg/fmt" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly/objectstorage/accesskeys" + "github.com/fastly/go-fastly/v18/fastly/objectstorage/accesskeys" ) const ( diff --git a/pkg/commands/objectstorage/accesskeys/create.go b/pkg/commands/objectstorage/accesskeys/create.go index fcda2ec17..427d55b5e 100644 --- a/pkg/commands/objectstorage/accesskeys/create.go +++ b/pkg/commands/objectstorage/accesskeys/create.go @@ -5,9 +5,9 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" - "github.com/fastly/go-fastly/v17/fastly/objectstorage/accesskeys" + "github.com/fastly/go-fastly/v18/fastly/objectstorage/accesskeys" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/objectstorage/accesskeys/delete.go b/pkg/commands/objectstorage/accesskeys/delete.go index 5ec49a0ea..65c1f62b6 100644 --- a/pkg/commands/objectstorage/accesskeys/delete.go +++ b/pkg/commands/objectstorage/accesskeys/delete.go @@ -5,9 +5,9 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" - "github.com/fastly/go-fastly/v17/fastly/objectstorage/accesskeys" + "github.com/fastly/go-fastly/v18/fastly/objectstorage/accesskeys" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/objectstorage/accesskeys/get.go b/pkg/commands/objectstorage/accesskeys/get.go index 37dbf4fe4..3d2aa9098 100644 --- a/pkg/commands/objectstorage/accesskeys/get.go +++ b/pkg/commands/objectstorage/accesskeys/get.go @@ -5,9 +5,9 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" - "github.com/fastly/go-fastly/v17/fastly/objectstorage/accesskeys" + "github.com/fastly/go-fastly/v18/fastly/objectstorage/accesskeys" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/objectstorage/accesskeys/list.go b/pkg/commands/objectstorage/accesskeys/list.go index 936a8d127..debfd49f2 100644 --- a/pkg/commands/objectstorage/accesskeys/list.go +++ b/pkg/commands/objectstorage/accesskeys/list.go @@ -9,9 +9,9 @@ import ( fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" - "github.com/fastly/go-fastly/v17/fastly/objectstorage/accesskeys" + "github.com/fastly/go-fastly/v18/fastly/objectstorage/accesskeys" ) // ListCommand calls the Fastly API to list all access keys. diff --git a/pkg/commands/pop/pop_test.go b/pkg/commands/pop/pop_test.go index c1a0d8237..8d0b7ea92 100644 --- a/pkg/commands/pop/pop_test.go +++ b/pkg/commands/pop/pop_test.go @@ -6,7 +6,7 @@ import ( "io" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/pop/root.go b/pkg/commands/pop/root.go index 33790c5b2..409225caf 100644 --- a/pkg/commands/pop/root.go +++ b/pkg/commands/pop/root.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/products/root.go b/pkg/commands/products/root.go index 91b930c8f..1ea0a9e82 100644 --- a/pkg/commands/products/root.go +++ b/pkg/commands/products/root.go @@ -6,21 +6,21 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly/products/apidiscovery" - "github.com/fastly/go-fastly/v17/fastly/products/botmanagement" - "github.com/fastly/go-fastly/v17/fastly/products/brotlicompression" - "github.com/fastly/go-fastly/v17/fastly/products/domaininspector" - "github.com/fastly/go-fastly/v17/fastly/products/fanout" - "github.com/fastly/go-fastly/v17/fastly/products/imageoptimizer" - "github.com/fastly/go-fastly/v17/fastly/products/logexplorerinsights" - "github.com/fastly/go-fastly/v17/fastly/products/origininspector" - "github.com/fastly/go-fastly/v17/fastly/products/websockets" + "github.com/fastly/go-fastly/v18/fastly/products/apidiscovery" + "github.com/fastly/go-fastly/v18/fastly/products/botmanagement" + "github.com/fastly/go-fastly/v18/fastly/products/brotlicompression" + "github.com/fastly/go-fastly/v18/fastly/products/domaininspector" + "github.com/fastly/go-fastly/v18/fastly/products/fanout" + "github.com/fastly/go-fastly/v18/fastly/products/imageoptimizer" + "github.com/fastly/go-fastly/v18/fastly/products/logexplorerinsights" + "github.com/fastly/go-fastly/v18/fastly/products/origininspector" + "github.com/fastly/go-fastly/v18/fastly/products/websockets" ) // RootCommand is the parent command for all subcommands in this package. diff --git a/pkg/commands/profile/profile_test.go b/pkg/commands/profile/profile_test.go index 3d14d85a3..f94d5f1da 100644 --- a/pkg/commands/profile/profile_test.go +++ b/pkg/commands/profile/profile_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/profile" "github.com/fastly/cli/pkg/config" diff --git a/pkg/commands/routingconfig/common.go b/pkg/commands/routingconfig/common.go index 8afded4de..99dfdb74c 100644 --- a/pkg/commands/routingconfig/common.go +++ b/pkg/commands/routingconfig/common.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/routingconfigs" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/routingconfigs" "github.com/fastly/cli/pkg/text" ) diff --git a/pkg/commands/routingconfig/create.go b/pkg/commands/routingconfig/create.go index 498da70d8..62ad4a94c 100644 --- a/pkg/commands/routingconfig/create.go +++ b/pkg/commands/routingconfig/create.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/routingconfigs" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/routingconfigs" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/routingconfig/deactivate.go b/pkg/commands/routingconfig/deactivate.go index decfac946..e8e556aa3 100644 --- a/pkg/commands/routingconfig/deactivate.go +++ b/pkg/commands/routingconfig/deactivate.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/routingconfigs" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/routingconfigs" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/routingconfig/delete.go b/pkg/commands/routingconfig/delete.go index 218371600..1bfe66bea 100644 --- a/pkg/commands/routingconfig/delete.go +++ b/pkg/commands/routingconfig/delete.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/routingconfigs" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/routingconfigs" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/routingconfig/deploy.go b/pkg/commands/routingconfig/deploy.go index b43c3b890..fe60e5d58 100644 --- a/pkg/commands/routingconfig/deploy.go +++ b/pkg/commands/routingconfig/deploy.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/routingconfigs" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/routingconfigs" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/routingconfig/describe.go b/pkg/commands/routingconfig/describe.go index 32ab904a6..6ce1fbdba 100644 --- a/pkg/commands/routingconfig/describe.go +++ b/pkg/commands/routingconfig/describe.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/routingconfigs" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/routingconfigs" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/routingconfig/draft/delete.go b/pkg/commands/routingconfig/draft/delete.go index e414aeaed..128d74778 100644 --- a/pkg/commands/routingconfig/draft/delete.go +++ b/pkg/commands/routingconfig/draft/delete.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - sdkdraft "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/routingconfigs/draft" + "github.com/fastly/go-fastly/v18/fastly" + sdkdraft "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/routingconfigs/draft" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/routingconfig/draft/diff.go b/pkg/commands/routingconfig/draft/diff.go index 45549d7c9..83005e76d 100644 --- a/pkg/commands/routingconfig/draft/diff.go +++ b/pkg/commands/routingconfig/draft/diff.go @@ -6,8 +6,8 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" - sdkdraft "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/routingconfigs/draft" + "github.com/fastly/go-fastly/v18/fastly" + sdkdraft "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/routingconfigs/draft" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/routingconfig/draft/draft_test.go b/pkg/commands/routingconfig/draft/draft_test.go index 10aae1c45..079cf3a5b 100644 --- a/pkg/commands/routingconfig/draft/draft_test.go +++ b/pkg/commands/routingconfig/draft/draft_test.go @@ -8,8 +8,8 @@ import ( "strings" "testing" - sdkdraft "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/routingconfigs/draft" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/routingconfigs/paths" + sdkdraft "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/routingconfigs/draft" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/routingconfigs/paths" routingconfig "github.com/fastly/cli/pkg/commands/routingconfig" root "github.com/fastly/cli/pkg/commands/routingconfig/draft" diff --git a/pkg/commands/routingconfig/draft/update.go b/pkg/commands/routingconfig/draft/update.go index f30ec7257..c0fc3f845 100644 --- a/pkg/commands/routingconfig/draft/update.go +++ b/pkg/commands/routingconfig/draft/update.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - sdkdraft "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/routingconfigs/draft" + "github.com/fastly/go-fastly/v18/fastly" + sdkdraft "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/routingconfigs/draft" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/routingconfig/list.go b/pkg/commands/routingconfig/list.go index 424ccd6fd..b3c027188 100644 --- a/pkg/commands/routingconfig/list.go +++ b/pkg/commands/routingconfig/list.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/routingconfigs" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/routingconfigs" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/routingconfig/path/common.go b/pkg/commands/routingconfig/path/common.go index 4bb97bc06..145bef1b7 100644 --- a/pkg/commands/routingconfig/path/common.go +++ b/pkg/commands/routingconfig/path/common.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/routingconfigs/paths" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/routingconfigs/paths" "github.com/fastly/cli/pkg/text" ) diff --git a/pkg/commands/routingconfig/path/create.go b/pkg/commands/routingconfig/path/create.go index 9443c882a..77b72e366 100644 --- a/pkg/commands/routingconfig/path/create.go +++ b/pkg/commands/routingconfig/path/create.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/routingconfigs/paths" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/routingconfigs/paths" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/routingconfig/path/delete.go b/pkg/commands/routingconfig/path/delete.go index 113f166a3..b583389ea 100644 --- a/pkg/commands/routingconfig/path/delete.go +++ b/pkg/commands/routingconfig/path/delete.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/routingconfigs/paths" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/routingconfigs/paths" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/routingconfig/path/describe.go b/pkg/commands/routingconfig/path/describe.go index 7e102b636..599a155e3 100644 --- a/pkg/commands/routingconfig/path/describe.go +++ b/pkg/commands/routingconfig/path/describe.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/routingconfigs/paths" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/routingconfigs/paths" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/routingconfig/path/list.go b/pkg/commands/routingconfig/path/list.go index df4dc59eb..0fec37009 100644 --- a/pkg/commands/routingconfig/path/list.go +++ b/pkg/commands/routingconfig/path/list.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/routingconfigs/paths" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/routingconfigs/paths" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/routingconfig/path/path_test.go b/pkg/commands/routingconfig/path/path_test.go index 27c118da7..879dc08c7 100644 --- a/pkg/commands/routingconfig/path/path_test.go +++ b/pkg/commands/routingconfig/path/path_test.go @@ -8,7 +8,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/routingconfigs/paths" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/routingconfigs/paths" routingconfig "github.com/fastly/cli/pkg/commands/routingconfig" root "github.com/fastly/cli/pkg/commands/routingconfig/path" diff --git a/pkg/commands/routingconfig/path/rule/common.go b/pkg/commands/routingconfig/path/rule/common.go index 59ea3b318..d67362693 100644 --- a/pkg/commands/routingconfig/path/rule/common.go +++ b/pkg/commands/routingconfig/path/rule/common.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/routingconfigs/paths/rules" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/routingconfigs/paths/rules" "github.com/fastly/cli/pkg/text" ) diff --git a/pkg/commands/routingconfig/path/rule/create.go b/pkg/commands/routingconfig/path/rule/create.go index 1b9a8a0d7..350b4e1c0 100644 --- a/pkg/commands/routingconfig/path/rule/create.go +++ b/pkg/commands/routingconfig/path/rule/create.go @@ -9,8 +9,8 @@ import ( "os" "path/filepath" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/routingconfigs/paths/rules" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/routingconfigs/paths/rules" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/routingconfig/path/rule/delete.go b/pkg/commands/routingconfig/path/rule/delete.go index 591ad2406..ec6f347f2 100644 --- a/pkg/commands/routingconfig/path/rule/delete.go +++ b/pkg/commands/routingconfig/path/rule/delete.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/routingconfigs/paths/rules" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/routingconfigs/paths/rules" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/routingconfig/path/rule/describe.go b/pkg/commands/routingconfig/path/rule/describe.go index 4b80b3493..cb421449c 100644 --- a/pkg/commands/routingconfig/path/rule/describe.go +++ b/pkg/commands/routingconfig/path/rule/describe.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/routingconfigs/paths/rules" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/routingconfigs/paths/rules" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/routingconfig/path/rule/list.go b/pkg/commands/routingconfig/path/rule/list.go index 90001c9e5..b730d2741 100644 --- a/pkg/commands/routingconfig/path/rule/list.go +++ b/pkg/commands/routingconfig/path/rule/list.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/routingconfigs/paths/rules" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/routingconfigs/paths/rules" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/routingconfig/path/rule/rule_test.go b/pkg/commands/routingconfig/path/rule/rule_test.go index 45cc93045..751fc9245 100644 --- a/pkg/commands/routingconfig/path/rule/rule_test.go +++ b/pkg/commands/routingconfig/path/rule/rule_test.go @@ -8,7 +8,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/routingconfigs/paths/rules" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/routingconfigs/paths/rules" routingconfig "github.com/fastly/cli/pkg/commands/routingconfig" path "github.com/fastly/cli/pkg/commands/routingconfig/path" diff --git a/pkg/commands/routingconfig/path/rule/update.go b/pkg/commands/routingconfig/path/rule/update.go index a662dbbbd..94dc20d4a 100644 --- a/pkg/commands/routingconfig/path/rule/update.go +++ b/pkg/commands/routingconfig/path/rule/update.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/routingconfigs/paths/rules" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/routingconfigs/paths/rules" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/routingconfig/path/update.go b/pkg/commands/routingconfig/path/update.go index f5745922b..73d6d4aaf 100644 --- a/pkg/commands/routingconfig/path/update.go +++ b/pkg/commands/routingconfig/path/update.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/routingconfigs/paths" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/routingconfigs/paths" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/routingconfig/routingconfig_test.go b/pkg/commands/routingconfig/routingconfig_test.go index 1be66e36b..408b509d0 100644 --- a/pkg/commands/routingconfig/routingconfig_test.go +++ b/pkg/commands/routingconfig/routingconfig_test.go @@ -8,7 +8,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/routingconfigs" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/routingconfigs" root "github.com/fastly/cli/pkg/commands/routingconfig" "github.com/fastly/cli/pkg/testutil" diff --git a/pkg/commands/routingconfig/version/activate.go b/pkg/commands/routingconfig/version/activate.go index a6ed66042..311c1494b 100644 --- a/pkg/commands/routingconfig/version/activate.go +++ b/pkg/commands/routingconfig/version/activate.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/routingconfigs/versions" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/routingconfigs/versions" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/routingconfig/version/deleteinactive.go b/pkg/commands/routingconfig/version/deleteinactive.go index 7ad23d2ea..db32cc65e 100644 --- a/pkg/commands/routingconfig/version/deleteinactive.go +++ b/pkg/commands/routingconfig/version/deleteinactive.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/routingconfigs/versions" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/routingconfigs/versions" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/routingconfig/version/list.go b/pkg/commands/routingconfig/version/list.go index 5cc263b8d..7e77745a2 100644 --- a/pkg/commands/routingconfig/version/list.go +++ b/pkg/commands/routingconfig/version/list.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/routingconfigs/versions" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/routingconfigs/versions" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/routingconfig/version/version_test.go b/pkg/commands/routingconfig/version/version_test.go index dc7691185..062edc17a 100644 --- a/pkg/commands/routingconfig/version/version_test.go +++ b/pkg/commands/routingconfig/version/version_test.go @@ -8,8 +8,8 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/routingconfigs" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/routingconfigs/versions" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/routingconfigs" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/routingconfigs/versions" routingconfig "github.com/fastly/cli/pkg/commands/routingconfig" root "github.com/fastly/cli/pkg/commands/routingconfig/version" diff --git a/pkg/commands/secretstore/create.go b/pkg/commands/secretstore/create.go index e6f985b29..b49380e33 100644 --- a/pkg/commands/secretstore/create.go +++ b/pkg/commands/secretstore/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/secretstore/delete.go b/pkg/commands/secretstore/delete.go index bc067e83d..b0a068605 100644 --- a/pkg/commands/secretstore/delete.go +++ b/pkg/commands/secretstore/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/secretstore/describe.go b/pkg/commands/secretstore/describe.go index b3bd6dc25..9a98f18d3 100644 --- a/pkg/commands/secretstore/describe.go +++ b/pkg/commands/secretstore/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/secretstore/helper_test.go b/pkg/commands/secretstore/helper_test.go index 1aef37478..10171f063 100644 --- a/pkg/commands/secretstore/helper_test.go +++ b/pkg/commands/secretstore/helper_test.go @@ -3,7 +3,7 @@ package secretstore_test import ( "bytes" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/text" ) diff --git a/pkg/commands/secretstore/list.go b/pkg/commands/secretstore/list.go index 23a6e576f..ca22502a0 100644 --- a/pkg/commands/secretstore/list.go +++ b/pkg/commands/secretstore/list.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/secretstore/secretstore_test.go b/pkg/commands/secretstore/secretstore_test.go index 0a12ac529..b91385784 100644 --- a/pkg/commands/secretstore/secretstore_test.go +++ b/pkg/commands/secretstore/secretstore_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/commands/secretstore" diff --git a/pkg/commands/secretstoreentry/create.go b/pkg/commands/secretstoreentry/create.go index 774fe6e97..4b0d6a4bb 100644 --- a/pkg/commands/secretstoreentry/create.go +++ b/pkg/commands/secretstoreentry/create.go @@ -10,7 +10,7 @@ import ( "net/http" "os" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/secretstoreentry/delete.go b/pkg/commands/secretstoreentry/delete.go index d6f55ea3e..942e5d848 100644 --- a/pkg/commands/secretstoreentry/delete.go +++ b/pkg/commands/secretstoreentry/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/secretstoreentry/describe.go b/pkg/commands/secretstoreentry/describe.go index d3e949f5e..35ca154c4 100644 --- a/pkg/commands/secretstoreentry/describe.go +++ b/pkg/commands/secretstoreentry/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/secretstoreentry/helper_test.go b/pkg/commands/secretstoreentry/helper_test.go index 06e417677..ed69af461 100644 --- a/pkg/commands/secretstoreentry/helper_test.go +++ b/pkg/commands/secretstoreentry/helper_test.go @@ -4,7 +4,7 @@ import ( "bytes" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" ) func fmtSecret(s *fastly.Secret) string { diff --git a/pkg/commands/secretstoreentry/list.go b/pkg/commands/secretstoreentry/list.go index 917cb5cd3..00cb712aa 100644 --- a/pkg/commands/secretstoreentry/list.go +++ b/pkg/commands/secretstoreentry/list.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/secretstoreentry/secretstoreentry_test.go b/pkg/commands/secretstoreentry/secretstoreentry_test.go index 485d230d5..8821cb570 100644 --- a/pkg/commands/secretstoreentry/secretstoreentry_test.go +++ b/pkg/commands/secretstoreentry/secretstoreentry_test.go @@ -18,7 +18,7 @@ import ( "golang.org/x/crypto/nacl/box" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/commands/secretstoreentry" diff --git a/pkg/commands/service/acl/acl_test.go b/pkg/commands/service/acl/acl_test.go index 7aacac687..a10f42c38 100644 --- a/pkg/commands/service/acl/acl_test.go +++ b/pkg/commands/service/acl/acl_test.go @@ -5,7 +5,7 @@ import ( "fmt" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/service" sub "github.com/fastly/cli/pkg/commands/service/acl" diff --git a/pkg/commands/service/acl/create.go b/pkg/commands/service/acl/create.go index d5d9e7f7b..a21a7d190 100644 --- a/pkg/commands/service/acl/create.go +++ b/pkg/commands/service/acl/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/acl/delete.go b/pkg/commands/service/acl/delete.go index 6e0896a5d..919a68b47 100644 --- a/pkg/commands/service/acl/delete.go +++ b/pkg/commands/service/acl/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/acl/describe.go b/pkg/commands/service/acl/describe.go index 7ebfdf329..779254dde 100644 --- a/pkg/commands/service/acl/describe.go +++ b/pkg/commands/service/acl/describe.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/acl/list.go b/pkg/commands/service/acl/list.go index dd9e0d4de..c95d6ece7 100644 --- a/pkg/commands/service/acl/list.go +++ b/pkg/commands/service/acl/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/acl/update.go b/pkg/commands/service/acl/update.go index a9d43551c..beea74846 100644 --- a/pkg/commands/service/acl/update.go +++ b/pkg/commands/service/acl/update.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/aclentry/aclentry_test.go b/pkg/commands/service/aclentry/aclentry_test.go index acaf08c63..51ca4cb06 100644 --- a/pkg/commands/service/aclentry/aclentry_test.go +++ b/pkg/commands/service/aclentry/aclentry_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/service" sub "github.com/fastly/cli/pkg/commands/service/aclentry" diff --git a/pkg/commands/service/aclentry/create.go b/pkg/commands/service/aclentry/create.go index 657738809..0750d3dbe 100644 --- a/pkg/commands/service/aclentry/create.go +++ b/pkg/commands/service/aclentry/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/service/aclentry/delete.go b/pkg/commands/service/aclentry/delete.go index 140d39d29..4cb7597fb 100644 --- a/pkg/commands/service/aclentry/delete.go +++ b/pkg/commands/service/aclentry/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/service/aclentry/describe.go b/pkg/commands/service/aclentry/describe.go index 912f5069f..154ed242f 100644 --- a/pkg/commands/service/aclentry/describe.go +++ b/pkg/commands/service/aclentry/describe.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/aclentry/list.go b/pkg/commands/service/aclentry/list.go index 2a3fe5469..806ed554b 100644 --- a/pkg/commands/service/aclentry/list.go +++ b/pkg/commands/service/aclentry/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/aclentry/update.go b/pkg/commands/service/aclentry/update.go index d345649ab..18f7707b9 100644 --- a/pkg/commands/service/aclentry/update.go +++ b/pkg/commands/service/aclentry/update.go @@ -6,7 +6,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/alert/alert_test.go b/pkg/commands/service/alert/alert_test.go index e3b2395d0..b1b14d5fa 100644 --- a/pkg/commands/service/alert/alert_test.go +++ b/pkg/commands/service/alert/alert_test.go @@ -10,7 +10,7 @@ import ( sub "github.com/fastly/cli/pkg/commands/service/alert" "github.com/fastly/cli/pkg/mock" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" ) func TestAlertsCreate(t *testing.T) { diff --git a/pkg/commands/service/alert/common.go b/pkg/commands/service/alert/common.go index 923a6e97c..ad13146cf 100644 --- a/pkg/commands/service/alert/common.go +++ b/pkg/commands/service/alert/common.go @@ -5,7 +5,7 @@ import ( "io" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" ) // evaluationType is a list of supported evaluation types. diff --git a/pkg/commands/service/alert/create.go b/pkg/commands/service/alert/create.go index 6759c27a5..63490d574 100644 --- a/pkg/commands/service/alert/create.go +++ b/pkg/commands/service/alert/create.go @@ -7,7 +7,7 @@ import ( "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/global" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" ) // NewCreateCommand returns a usable command registered under the parent. diff --git a/pkg/commands/service/alert/delete.go b/pkg/commands/service/alert/delete.go index a55fdec6e..9ca25fe59 100644 --- a/pkg/commands/service/alert/delete.go +++ b/pkg/commands/service/alert/delete.go @@ -5,7 +5,7 @@ import ( "io" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/alert/describe.go b/pkg/commands/service/alert/describe.go index e61e737ca..6abba860c 100644 --- a/pkg/commands/service/alert/describe.go +++ b/pkg/commands/service/alert/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/alert/list.go b/pkg/commands/service/alert/list.go index 5c04ce13d..89f69e8bd 100644 --- a/pkg/commands/service/alert/list.go +++ b/pkg/commands/service/alert/list.go @@ -5,7 +5,7 @@ import ( "io" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/alert/list_history.go b/pkg/commands/service/alert/list_history.go index 5d66a8c18..7b23ac6b9 100644 --- a/pkg/commands/service/alert/list_history.go +++ b/pkg/commands/service/alert/list_history.go @@ -5,7 +5,7 @@ import ( "io" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/alert/update.go b/pkg/commands/service/alert/update.go index 86c5d86d3..cbaffe56f 100644 --- a/pkg/commands/service/alert/update.go +++ b/pkg/commands/service/alert/update.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/auth/create.go b/pkg/commands/service/auth/create.go index 1acf0b50e..ed26cd22b 100644 --- a/pkg/commands/service/auth/create.go +++ b/pkg/commands/service/auth/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/service/auth/delete.go b/pkg/commands/service/auth/delete.go index ca9e89938..9fe434876 100644 --- a/pkg/commands/service/auth/delete.go +++ b/pkg/commands/service/auth/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/service/auth/describe.go b/pkg/commands/service/auth/describe.go index 78211865d..2858e088e 100644 --- a/pkg/commands/service/auth/describe.go +++ b/pkg/commands/service/auth/describe.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/auth/list.go b/pkg/commands/service/auth/list.go index 66ffa1c8b..6f383afd7 100644 --- a/pkg/commands/service/auth/list.go +++ b/pkg/commands/service/auth/list.go @@ -10,7 +10,7 @@ import ( "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/text" "github.com/fastly/cli/pkg/time" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" ) // ListCommand calls the Fastly API to list service authorizations. diff --git a/pkg/commands/service/auth/service_test.go b/pkg/commands/service/auth/service_test.go index 5796efc5a..b12000ea4 100644 --- a/pkg/commands/service/auth/service_test.go +++ b/pkg/commands/service/auth/service_test.go @@ -5,7 +5,7 @@ import ( "errors" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/service" sub "github.com/fastly/cli/pkg/commands/service/auth" diff --git a/pkg/commands/service/auth/update.go b/pkg/commands/service/auth/update.go index fd4950e50..3dfb54796 100644 --- a/pkg/commands/service/auth/update.go +++ b/pkg/commands/service/auth/update.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/service/backend/backend_test.go b/pkg/commands/service/backend/backend_test.go index 7c1966018..a78616e23 100644 --- a/pkg/commands/service/backend/backend_test.go +++ b/pkg/commands/service/backend/backend_test.go @@ -9,7 +9,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/service" sub "github.com/fastly/cli/pkg/commands/service/backend" diff --git a/pkg/commands/service/backend/create.go b/pkg/commands/service/backend/create.go index 5c3cdc3ae..8f326a39e 100644 --- a/pkg/commands/service/backend/create.go +++ b/pkg/commands/service/backend/create.go @@ -5,7 +5,7 @@ import ( "io" "net" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/backend/delete.go b/pkg/commands/service/backend/delete.go index 7f54cee50..a8e61a34b 100644 --- a/pkg/commands/service/backend/delete.go +++ b/pkg/commands/service/backend/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/backend/describe.go b/pkg/commands/service/backend/describe.go index eddd964f3..a5b5da0fc 100644 --- a/pkg/commands/service/backend/describe.go +++ b/pkg/commands/service/backend/describe.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/backend/list.go b/pkg/commands/service/backend/list.go index 4d4e2fe5b..bbeba347d 100644 --- a/pkg/commands/service/backend/list.go +++ b/pkg/commands/service/backend/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/backend/update.go b/pkg/commands/service/backend/update.go index a7ec630d8..b9446dab3 100644 --- a/pkg/commands/service/backend/update.go +++ b/pkg/commands/service/backend/update.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/create.go b/pkg/commands/service/create.go index e2f9a6e91..461d4227b 100644 --- a/pkg/commands/service/create.go +++ b/pkg/commands/service/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/service/delete.go b/pkg/commands/service/delete.go index 9594a25bb..2c30318fa 100644 --- a/pkg/commands/service/delete.go +++ b/pkg/commands/service/delete.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/describe.go b/pkg/commands/service/describe.go index d5531927c..72b8ed979 100644 --- a/pkg/commands/service/describe.go +++ b/pkg/commands/service/describe.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/dictionary/create.go b/pkg/commands/service/dictionary/create.go index ef838e0c3..9176b603d 100644 --- a/pkg/commands/service/dictionary/create.go +++ b/pkg/commands/service/dictionary/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/dictionary/delete.go b/pkg/commands/service/dictionary/delete.go index 5f3bb5141..799bb3320 100644 --- a/pkg/commands/service/dictionary/delete.go +++ b/pkg/commands/service/dictionary/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/dictionary/describe.go b/pkg/commands/service/dictionary/describe.go index aeeb981c0..27be816fd 100644 --- a/pkg/commands/service/dictionary/describe.go +++ b/pkg/commands/service/dictionary/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/dictionary/dictionary_test.go b/pkg/commands/service/dictionary/dictionary_test.go index 1f7ab9f39..96c9a295a 100644 --- a/pkg/commands/service/dictionary/dictionary_test.go +++ b/pkg/commands/service/dictionary/dictionary_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/service" sub "github.com/fastly/cli/pkg/commands/service/dictionary" diff --git a/pkg/commands/service/dictionary/list.go b/pkg/commands/service/dictionary/list.go index 331a42d92..acb090785 100644 --- a/pkg/commands/service/dictionary/list.go +++ b/pkg/commands/service/dictionary/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/dictionary/update.go b/pkg/commands/service/dictionary/update.go index f7275410e..de80392dc 100644 --- a/pkg/commands/service/dictionary/update.go +++ b/pkg/commands/service/dictionary/update.go @@ -6,7 +6,7 @@ import ( "io" "strconv" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/dictionaryentry/create.go b/pkg/commands/service/dictionaryentry/create.go index 3d545ff75..aed08c21a 100644 --- a/pkg/commands/service/dictionaryentry/create.go +++ b/pkg/commands/service/dictionaryentry/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/service/dictionaryentry/delete.go b/pkg/commands/service/dictionaryentry/delete.go index d2fafd07a..380a7f47e 100644 --- a/pkg/commands/service/dictionaryentry/delete.go +++ b/pkg/commands/service/dictionaryentry/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/service/dictionaryentry/describe.go b/pkg/commands/service/dictionaryentry/describe.go index abdcddd35..305ac64d0 100644 --- a/pkg/commands/service/dictionaryentry/describe.go +++ b/pkg/commands/service/dictionaryentry/describe.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/dictionaryentry/dictionaryitem_test.go b/pkg/commands/service/dictionaryentry/dictionaryitem_test.go index 7e5450e96..047ade02f 100644 --- a/pkg/commands/service/dictionaryentry/dictionaryitem_test.go +++ b/pkg/commands/service/dictionaryentry/dictionaryitem_test.go @@ -13,7 +13,7 @@ import ( sub "github.com/fastly/cli/pkg/commands/service/dictionaryentry" "github.com/fastly/cli/pkg/mock" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" ) func TestDictionaryItemDescribe(t *testing.T) { diff --git a/pkg/commands/service/dictionaryentry/list.go b/pkg/commands/service/dictionaryentry/list.go index de4593673..94ac27e90 100644 --- a/pkg/commands/service/dictionaryentry/list.go +++ b/pkg/commands/service/dictionaryentry/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/dictionaryentry/update.go b/pkg/commands/service/dictionaryentry/update.go index bb2eab2e8..cdaecf978 100644 --- a/pkg/commands/service/dictionaryentry/update.go +++ b/pkg/commands/service/dictionaryentry/update.go @@ -7,7 +7,7 @@ import ( "io" "os" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/service/domain/create.go b/pkg/commands/service/domain/create.go index 7bcee6cb5..637821311 100644 --- a/pkg/commands/service/domain/create.go +++ b/pkg/commands/service/domain/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/domain/delete.go b/pkg/commands/service/domain/delete.go index 069970ee0..ffe01ed74 100644 --- a/pkg/commands/service/domain/delete.go +++ b/pkg/commands/service/domain/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/domain/describe.go b/pkg/commands/service/domain/describe.go index f90c555d1..d820c52fd 100644 --- a/pkg/commands/service/domain/describe.go +++ b/pkg/commands/service/domain/describe.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/domain/domain_test.go b/pkg/commands/service/domain/domain_test.go index 340292357..92d50814f 100644 --- a/pkg/commands/service/domain/domain_test.go +++ b/pkg/commands/service/domain/domain_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/service" sub "github.com/fastly/cli/pkg/commands/service/domain" diff --git a/pkg/commands/service/domain/list.go b/pkg/commands/service/domain/list.go index ec6501b2e..0ae73c373 100644 --- a/pkg/commands/service/domain/list.go +++ b/pkg/commands/service/domain/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/domain/update.go b/pkg/commands/service/domain/update.go index e05d81acd..5e0eb5dcb 100644 --- a/pkg/commands/service/domain/update.go +++ b/pkg/commands/service/domain/update.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/domain/validate.go b/pkg/commands/service/domain/validate.go index 76bc767ee..925eb3f51 100644 --- a/pkg/commands/service/domain/validate.go +++ b/pkg/commands/service/domain/validate.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/healthcheck/create.go b/pkg/commands/service/healthcheck/create.go index d9d2f4926..a27857319 100644 --- a/pkg/commands/service/healthcheck/create.go +++ b/pkg/commands/service/healthcheck/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/healthcheck/delete.go b/pkg/commands/service/healthcheck/delete.go index f4ddf4dc2..39a7a6af9 100644 --- a/pkg/commands/service/healthcheck/delete.go +++ b/pkg/commands/service/healthcheck/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/healthcheck/describe.go b/pkg/commands/service/healthcheck/describe.go index 932c20e9b..5d4953dab 100644 --- a/pkg/commands/service/healthcheck/describe.go +++ b/pkg/commands/service/healthcheck/describe.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/healthcheck/healthcheck_test.go b/pkg/commands/service/healthcheck/healthcheck_test.go index 2d8edd29a..f9c17fe3d 100644 --- a/pkg/commands/service/healthcheck/healthcheck_test.go +++ b/pkg/commands/service/healthcheck/healthcheck_test.go @@ -9,7 +9,7 @@ import ( root "github.com/fastly/cli/pkg/commands/service" sub "github.com/fastly/cli/pkg/commands/service/healthcheck" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/mock" "github.com/fastly/cli/pkg/testutil" diff --git a/pkg/commands/service/healthcheck/list.go b/pkg/commands/service/healthcheck/list.go index d4afe37e2..45bd212e9 100644 --- a/pkg/commands/service/healthcheck/list.go +++ b/pkg/commands/service/healthcheck/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/healthcheck/update.go b/pkg/commands/service/healthcheck/update.go index 7e26e091f..0d6fe061b 100644 --- a/pkg/commands/service/healthcheck/update.go +++ b/pkg/commands/service/healthcheck/update.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/imageoptimizerdefaults/get.go b/pkg/commands/service/imageoptimizerdefaults/get.go index 904877741..7ec9ef15f 100644 --- a/pkg/commands/service/imageoptimizerdefaults/get.go +++ b/pkg/commands/service/imageoptimizerdefaults/get.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/imageoptimizerdefaults/imageoptimizer_test.go b/pkg/commands/service/imageoptimizerdefaults/imageoptimizer_test.go index 731f4688a..4f77c5860 100644 --- a/pkg/commands/service/imageoptimizerdefaults/imageoptimizer_test.go +++ b/pkg/commands/service/imageoptimizerdefaults/imageoptimizer_test.go @@ -5,7 +5,7 @@ import ( "errors" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/service" sub "github.com/fastly/cli/pkg/commands/service/imageoptimizerdefaults" diff --git a/pkg/commands/service/imageoptimizerdefaults/update.go b/pkg/commands/service/imageoptimizerdefaults/update.go index 8f22fc0da..0d7e62157 100644 --- a/pkg/commands/service/imageoptimizerdefaults/update.go +++ b/pkg/commands/service/imageoptimizerdefaults/update.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/list.go b/pkg/commands/service/list.go index 610c22a4a..957a8e848 100644 --- a/pkg/commands/service/list.go +++ b/pkg/commands/service/list.go @@ -6,7 +6,7 @@ import ( "io" "strconv" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/azureblob/azureblob_integration_test.go b/pkg/commands/service/logging/azureblob/azureblob_integration_test.go index 9f2eca671..8237ca69e 100644 --- a/pkg/commands/service/logging/azureblob/azureblob_integration_test.go +++ b/pkg/commands/service/logging/azureblob/azureblob_integration_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/mock" "github.com/fastly/cli/pkg/testutil" diff --git a/pkg/commands/service/logging/azureblob/azureblob_test.go b/pkg/commands/service/logging/azureblob/azureblob_test.go index 3ec51ae7c..c70d23ff5 100644 --- a/pkg/commands/service/logging/azureblob/azureblob_test.go +++ b/pkg/commands/service/logging/azureblob/azureblob_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/service/logging/azureblob" diff --git a/pkg/commands/service/logging/azureblob/create.go b/pkg/commands/service/logging/azureblob/create.go index a3e595001..29ac53cbe 100644 --- a/pkg/commands/service/logging/azureblob/create.go +++ b/pkg/commands/service/logging/azureblob/create.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/azureblob/delete.go b/pkg/commands/service/logging/azureblob/delete.go index 6fbc22d0f..be685f8b7 100644 --- a/pkg/commands/service/logging/azureblob/delete.go +++ b/pkg/commands/service/logging/azureblob/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/azureblob/describe.go b/pkg/commands/service/logging/azureblob/describe.go index 9a71ce6ea..57d02ae73 100644 --- a/pkg/commands/service/logging/azureblob/describe.go +++ b/pkg/commands/service/logging/azureblob/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/azureblob/list.go b/pkg/commands/service/logging/azureblob/list.go index d3c580f26..2eec16569 100644 --- a/pkg/commands/service/logging/azureblob/list.go +++ b/pkg/commands/service/logging/azureblob/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/azureblob/update.go b/pkg/commands/service/logging/azureblob/update.go index 742217270..e1999b051 100644 --- a/pkg/commands/service/logging/azureblob/update.go +++ b/pkg/commands/service/logging/azureblob/update.go @@ -5,7 +5,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/bigquery/bigquery_integration_test.go b/pkg/commands/service/logging/bigquery/bigquery_integration_test.go index 386ae7fad..141e6a310 100644 --- a/pkg/commands/service/logging/bigquery/bigquery_integration_test.go +++ b/pkg/commands/service/logging/bigquery/bigquery_integration_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/mock" "github.com/fastly/cli/pkg/testutil" diff --git a/pkg/commands/service/logging/bigquery/bigquery_test.go b/pkg/commands/service/logging/bigquery/bigquery_test.go index 72776b350..f7a253daf 100644 --- a/pkg/commands/service/logging/bigquery/bigquery_test.go +++ b/pkg/commands/service/logging/bigquery/bigquery_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/service/logging/bigquery" diff --git a/pkg/commands/service/logging/bigquery/create.go b/pkg/commands/service/logging/bigquery/create.go index 75d79abbb..49545df53 100644 --- a/pkg/commands/service/logging/bigquery/create.go +++ b/pkg/commands/service/logging/bigquery/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/bigquery/delete.go b/pkg/commands/service/logging/bigquery/delete.go index 6c0ae6300..c9b73b091 100644 --- a/pkg/commands/service/logging/bigquery/delete.go +++ b/pkg/commands/service/logging/bigquery/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/bigquery/describe.go b/pkg/commands/service/logging/bigquery/describe.go index 159385a5f..ea0ff779a 100644 --- a/pkg/commands/service/logging/bigquery/describe.go +++ b/pkg/commands/service/logging/bigquery/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/bigquery/list.go b/pkg/commands/service/logging/bigquery/list.go index 3a6845b07..9b23d416e 100644 --- a/pkg/commands/service/logging/bigquery/list.go +++ b/pkg/commands/service/logging/bigquery/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/bigquery/update.go b/pkg/commands/service/logging/bigquery/update.go index 504fc352d..fa6126e15 100644 --- a/pkg/commands/service/logging/bigquery/update.go +++ b/pkg/commands/service/logging/bigquery/update.go @@ -5,7 +5,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/cloudfiles/cloudfiles_integration_test.go b/pkg/commands/service/logging/cloudfiles/cloudfiles_integration_test.go index 6510453d0..e8ccf8b97 100644 --- a/pkg/commands/service/logging/cloudfiles/cloudfiles_integration_test.go +++ b/pkg/commands/service/logging/cloudfiles/cloudfiles_integration_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/mock" "github.com/fastly/cli/pkg/testutil" diff --git a/pkg/commands/service/logging/cloudfiles/cloudfiles_test.go b/pkg/commands/service/logging/cloudfiles/cloudfiles_test.go index bdf43e29c..1b0ce253e 100644 --- a/pkg/commands/service/logging/cloudfiles/cloudfiles_test.go +++ b/pkg/commands/service/logging/cloudfiles/cloudfiles_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/service/logging/cloudfiles" diff --git a/pkg/commands/service/logging/cloudfiles/create.go b/pkg/commands/service/logging/cloudfiles/create.go index 6bae350c0..064b5b7d1 100644 --- a/pkg/commands/service/logging/cloudfiles/create.go +++ b/pkg/commands/service/logging/cloudfiles/create.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/cloudfiles/delete.go b/pkg/commands/service/logging/cloudfiles/delete.go index 4b2dd6262..9b1be4e00 100644 --- a/pkg/commands/service/logging/cloudfiles/delete.go +++ b/pkg/commands/service/logging/cloudfiles/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/cloudfiles/describe.go b/pkg/commands/service/logging/cloudfiles/describe.go index bee590c52..824ccc6d1 100644 --- a/pkg/commands/service/logging/cloudfiles/describe.go +++ b/pkg/commands/service/logging/cloudfiles/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/cloudfiles/list.go b/pkg/commands/service/logging/cloudfiles/list.go index 23ce4a9cf..2abf248e0 100644 --- a/pkg/commands/service/logging/cloudfiles/list.go +++ b/pkg/commands/service/logging/cloudfiles/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/cloudfiles/update.go b/pkg/commands/service/logging/cloudfiles/update.go index 1821e50d5..4e6308935 100644 --- a/pkg/commands/service/logging/cloudfiles/update.go +++ b/pkg/commands/service/logging/cloudfiles/update.go @@ -5,7 +5,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/datadog/create.go b/pkg/commands/service/logging/datadog/create.go index ecf03d1e5..d003c73b4 100644 --- a/pkg/commands/service/logging/datadog/create.go +++ b/pkg/commands/service/logging/datadog/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/datadog/datadog_integration_test.go b/pkg/commands/service/logging/datadog/datadog_integration_test.go index d807a13f5..530c8c8da 100644 --- a/pkg/commands/service/logging/datadog/datadog_integration_test.go +++ b/pkg/commands/service/logging/datadog/datadog_integration_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/service" parent "github.com/fastly/cli/pkg/commands/service/logging" diff --git a/pkg/commands/service/logging/datadog/datadog_test.go b/pkg/commands/service/logging/datadog/datadog_test.go index 97f63f823..7cff817b2 100644 --- a/pkg/commands/service/logging/datadog/datadog_test.go +++ b/pkg/commands/service/logging/datadog/datadog_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/service/logging/datadog" diff --git a/pkg/commands/service/logging/datadog/delete.go b/pkg/commands/service/logging/datadog/delete.go index f652f827e..16417a203 100644 --- a/pkg/commands/service/logging/datadog/delete.go +++ b/pkg/commands/service/logging/datadog/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/datadog/describe.go b/pkg/commands/service/logging/datadog/describe.go index ad08055ee..93bb6b4e2 100644 --- a/pkg/commands/service/logging/datadog/describe.go +++ b/pkg/commands/service/logging/datadog/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/datadog/list.go b/pkg/commands/service/logging/datadog/list.go index d242907c7..f5c73e7f8 100644 --- a/pkg/commands/service/logging/datadog/list.go +++ b/pkg/commands/service/logging/datadog/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/datadog/update.go b/pkg/commands/service/logging/datadog/update.go index 8af542293..198456c85 100644 --- a/pkg/commands/service/logging/datadog/update.go +++ b/pkg/commands/service/logging/datadog/update.go @@ -5,7 +5,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/debug/debug_test.go b/pkg/commands/service/logging/debug/debug_test.go index 3a100cbd7..6da1bbe6e 100644 --- a/pkg/commands/service/logging/debug/debug_test.go +++ b/pkg/commands/service/logging/debug/debug_test.go @@ -6,7 +6,7 @@ import ( "github.com/google/go-cmp/cmp" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" ) // TestParseLoggingError validates we're correctly decoding individual logging error JSON. diff --git a/pkg/commands/service/logging/debug/root.go b/pkg/commands/service/logging/debug/root.go index 0d6248c48..1a2cd9bee 100644 --- a/pkg/commands/service/logging/debug/root.go +++ b/pkg/commands/service/logging/debug/root.go @@ -12,7 +12,7 @@ import ( "syscall" "time" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/service/logging/digitalocean/create.go b/pkg/commands/service/logging/digitalocean/create.go index 56a3c436d..b4822d13b 100644 --- a/pkg/commands/service/logging/digitalocean/create.go +++ b/pkg/commands/service/logging/digitalocean/create.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/digitalocean/delete.go b/pkg/commands/service/logging/digitalocean/delete.go index 843f8d165..3bf5141c0 100644 --- a/pkg/commands/service/logging/digitalocean/delete.go +++ b/pkg/commands/service/logging/digitalocean/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/digitalocean/describe.go b/pkg/commands/service/logging/digitalocean/describe.go index 1595f3901..3731be738 100644 --- a/pkg/commands/service/logging/digitalocean/describe.go +++ b/pkg/commands/service/logging/digitalocean/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/digitalocean/digitalocean_integration_test.go b/pkg/commands/service/logging/digitalocean/digitalocean_integration_test.go index cfad4e695..e6c6626b3 100644 --- a/pkg/commands/service/logging/digitalocean/digitalocean_integration_test.go +++ b/pkg/commands/service/logging/digitalocean/digitalocean_integration_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/mock" "github.com/fastly/cli/pkg/testutil" diff --git a/pkg/commands/service/logging/digitalocean/digitalocean_test.go b/pkg/commands/service/logging/digitalocean/digitalocean_test.go index d6d03fcc7..ec4f38da7 100644 --- a/pkg/commands/service/logging/digitalocean/digitalocean_test.go +++ b/pkg/commands/service/logging/digitalocean/digitalocean_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/service/logging/digitalocean" diff --git a/pkg/commands/service/logging/digitalocean/list.go b/pkg/commands/service/logging/digitalocean/list.go index 668f405a1..a0d48707b 100644 --- a/pkg/commands/service/logging/digitalocean/list.go +++ b/pkg/commands/service/logging/digitalocean/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/digitalocean/update.go b/pkg/commands/service/logging/digitalocean/update.go index d493de1a7..e42e9c07f 100644 --- a/pkg/commands/service/logging/digitalocean/update.go +++ b/pkg/commands/service/logging/digitalocean/update.go @@ -5,7 +5,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/elasticsearch/create.go b/pkg/commands/service/logging/elasticsearch/create.go index 99fd3d341..2bae81ff1 100644 --- a/pkg/commands/service/logging/elasticsearch/create.go +++ b/pkg/commands/service/logging/elasticsearch/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/elasticsearch/delete.go b/pkg/commands/service/logging/elasticsearch/delete.go index 2ed5c29b6..001b46c9a 100644 --- a/pkg/commands/service/logging/elasticsearch/delete.go +++ b/pkg/commands/service/logging/elasticsearch/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/elasticsearch/describe.go b/pkg/commands/service/logging/elasticsearch/describe.go index 2f6618623..d5e77af0c 100644 --- a/pkg/commands/service/logging/elasticsearch/describe.go +++ b/pkg/commands/service/logging/elasticsearch/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/elasticsearch/elasticsearch_integration_test.go b/pkg/commands/service/logging/elasticsearch/elasticsearch_integration_test.go index 2e79a16f8..059c0ef34 100644 --- a/pkg/commands/service/logging/elasticsearch/elasticsearch_integration_test.go +++ b/pkg/commands/service/logging/elasticsearch/elasticsearch_integration_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/mock" "github.com/fastly/cli/pkg/testutil" diff --git a/pkg/commands/service/logging/elasticsearch/elasticsearch_test.go b/pkg/commands/service/logging/elasticsearch/elasticsearch_test.go index 2c3d69daa..dab65db95 100644 --- a/pkg/commands/service/logging/elasticsearch/elasticsearch_test.go +++ b/pkg/commands/service/logging/elasticsearch/elasticsearch_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/service/logging/elasticsearch" diff --git a/pkg/commands/service/logging/elasticsearch/list.go b/pkg/commands/service/logging/elasticsearch/list.go index 2c3451884..68c00c7d4 100644 --- a/pkg/commands/service/logging/elasticsearch/list.go +++ b/pkg/commands/service/logging/elasticsearch/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/elasticsearch/update.go b/pkg/commands/service/logging/elasticsearch/update.go index cd6dffd09..ee6171174 100644 --- a/pkg/commands/service/logging/elasticsearch/update.go +++ b/pkg/commands/service/logging/elasticsearch/update.go @@ -5,7 +5,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/ftp/create.go b/pkg/commands/service/logging/ftp/create.go index a5236c62e..7f1232530 100644 --- a/pkg/commands/service/logging/ftp/create.go +++ b/pkg/commands/service/logging/ftp/create.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/ftp/delete.go b/pkg/commands/service/logging/ftp/delete.go index d8564e6c6..dc7ddffbf 100644 --- a/pkg/commands/service/logging/ftp/delete.go +++ b/pkg/commands/service/logging/ftp/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/ftp/describe.go b/pkg/commands/service/logging/ftp/describe.go index 14156caff..65423feb6 100644 --- a/pkg/commands/service/logging/ftp/describe.go +++ b/pkg/commands/service/logging/ftp/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/ftp/ftp_integration_test.go b/pkg/commands/service/logging/ftp/ftp_integration_test.go index fc443c03e..ddb7b2a51 100644 --- a/pkg/commands/service/logging/ftp/ftp_integration_test.go +++ b/pkg/commands/service/logging/ftp/ftp_integration_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/mock" "github.com/fastly/cli/pkg/testutil" diff --git a/pkg/commands/service/logging/ftp/ftp_test.go b/pkg/commands/service/logging/ftp/ftp_test.go index 3b1842304..3d9ce0281 100644 --- a/pkg/commands/service/logging/ftp/ftp_test.go +++ b/pkg/commands/service/logging/ftp/ftp_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/service/logging/ftp" diff --git a/pkg/commands/service/logging/ftp/list.go b/pkg/commands/service/logging/ftp/list.go index 90f3f747b..ee92b5e16 100644 --- a/pkg/commands/service/logging/ftp/list.go +++ b/pkg/commands/service/logging/ftp/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/ftp/update.go b/pkg/commands/service/logging/ftp/update.go index 99c4f1674..21f44e922 100644 --- a/pkg/commands/service/logging/ftp/update.go +++ b/pkg/commands/service/logging/ftp/update.go @@ -5,7 +5,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/gcs/create.go b/pkg/commands/service/logging/gcs/create.go index 369decac6..dea9aa5a4 100644 --- a/pkg/commands/service/logging/gcs/create.go +++ b/pkg/commands/service/logging/gcs/create.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/gcs/delete.go b/pkg/commands/service/logging/gcs/delete.go index 37242f5b0..5c886698b 100644 --- a/pkg/commands/service/logging/gcs/delete.go +++ b/pkg/commands/service/logging/gcs/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/gcs/describe.go b/pkg/commands/service/logging/gcs/describe.go index d51ff1683..f0e75c4e2 100644 --- a/pkg/commands/service/logging/gcs/describe.go +++ b/pkg/commands/service/logging/gcs/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/gcs/gcs_integration_test.go b/pkg/commands/service/logging/gcs/gcs_integration_test.go index 96fe0fca0..601a2ef09 100644 --- a/pkg/commands/service/logging/gcs/gcs_integration_test.go +++ b/pkg/commands/service/logging/gcs/gcs_integration_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/mock" "github.com/fastly/cli/pkg/testutil" diff --git a/pkg/commands/service/logging/gcs/gcs_test.go b/pkg/commands/service/logging/gcs/gcs_test.go index 1ca0418e6..7bcbcd537 100644 --- a/pkg/commands/service/logging/gcs/gcs_test.go +++ b/pkg/commands/service/logging/gcs/gcs_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/service/logging/gcs" diff --git a/pkg/commands/service/logging/gcs/list.go b/pkg/commands/service/logging/gcs/list.go index 131d0cf28..0605f89d8 100644 --- a/pkg/commands/service/logging/gcs/list.go +++ b/pkg/commands/service/logging/gcs/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/gcs/update.go b/pkg/commands/service/logging/gcs/update.go index 552da8536..d5479b24e 100644 --- a/pkg/commands/service/logging/gcs/update.go +++ b/pkg/commands/service/logging/gcs/update.go @@ -5,7 +5,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/googlepubsub/create.go b/pkg/commands/service/logging/googlepubsub/create.go index d636c2667..22475f2ff 100644 --- a/pkg/commands/service/logging/googlepubsub/create.go +++ b/pkg/commands/service/logging/googlepubsub/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/googlepubsub/delete.go b/pkg/commands/service/logging/googlepubsub/delete.go index 1b027f9f1..f8393352f 100644 --- a/pkg/commands/service/logging/googlepubsub/delete.go +++ b/pkg/commands/service/logging/googlepubsub/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/googlepubsub/describe.go b/pkg/commands/service/logging/googlepubsub/describe.go index 86c9b9329..afacb54ff 100644 --- a/pkg/commands/service/logging/googlepubsub/describe.go +++ b/pkg/commands/service/logging/googlepubsub/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/googlepubsub/googlepubsub_integration_test.go b/pkg/commands/service/logging/googlepubsub/googlepubsub_integration_test.go index a9158a135..87ff7594d 100644 --- a/pkg/commands/service/logging/googlepubsub/googlepubsub_integration_test.go +++ b/pkg/commands/service/logging/googlepubsub/googlepubsub_integration_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/mock" "github.com/fastly/cli/pkg/testutil" diff --git a/pkg/commands/service/logging/googlepubsub/googlepubsub_test.go b/pkg/commands/service/logging/googlepubsub/googlepubsub_test.go index b32997168..ef49663c8 100644 --- a/pkg/commands/service/logging/googlepubsub/googlepubsub_test.go +++ b/pkg/commands/service/logging/googlepubsub/googlepubsub_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/service/logging/googlepubsub" diff --git a/pkg/commands/service/logging/googlepubsub/list.go b/pkg/commands/service/logging/googlepubsub/list.go index cc790cabe..d0bec2dff 100644 --- a/pkg/commands/service/logging/googlepubsub/list.go +++ b/pkg/commands/service/logging/googlepubsub/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/googlepubsub/update.go b/pkg/commands/service/logging/googlepubsub/update.go index df0b63b20..9e6ff8b1a 100644 --- a/pkg/commands/service/logging/googlepubsub/update.go +++ b/pkg/commands/service/logging/googlepubsub/update.go @@ -5,7 +5,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/grafanacloudlogs/create.go b/pkg/commands/service/logging/grafanacloudlogs/create.go index b16450801..6672a4f71 100644 --- a/pkg/commands/service/logging/grafanacloudlogs/create.go +++ b/pkg/commands/service/logging/grafanacloudlogs/create.go @@ -12,7 +12,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/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" ) // CreateCommand calls the Fastly API to create a GrafanaCloudLogs logging endpoint. diff --git a/pkg/commands/service/logging/grafanacloudlogs/delete.go b/pkg/commands/service/logging/grafanacloudlogs/delete.go index 85c0c62b4..b43c0879a 100644 --- a/pkg/commands/service/logging/grafanacloudlogs/delete.go +++ b/pkg/commands/service/logging/grafanacloudlogs/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/grafanacloudlogs/describe.go b/pkg/commands/service/logging/grafanacloudlogs/describe.go index 7d6ae6158..122fa1dac 100644 --- a/pkg/commands/service/logging/grafanacloudlogs/describe.go +++ b/pkg/commands/service/logging/grafanacloudlogs/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/grafanacloudlogs/grafanacloud_logs_integration_test.go b/pkg/commands/service/logging/grafanacloudlogs/grafanacloud_logs_integration_test.go index deb6a6c7d..fea09b7b5 100644 --- a/pkg/commands/service/logging/grafanacloudlogs/grafanacloud_logs_integration_test.go +++ b/pkg/commands/service/logging/grafanacloudlogs/grafanacloud_logs_integration_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/service" parent "github.com/fastly/cli/pkg/commands/service/logging" diff --git a/pkg/commands/service/logging/grafanacloudlogs/grafanacloudlogs_test.go b/pkg/commands/service/logging/grafanacloudlogs/grafanacloudlogs_test.go index 2d8da154b..f0fc9be23 100644 --- a/pkg/commands/service/logging/grafanacloudlogs/grafanacloudlogs_test.go +++ b/pkg/commands/service/logging/grafanacloudlogs/grafanacloudlogs_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/service/logging/grafanacloudlogs" diff --git a/pkg/commands/service/logging/grafanacloudlogs/list.go b/pkg/commands/service/logging/grafanacloudlogs/list.go index 0373583f0..56d2922c7 100644 --- a/pkg/commands/service/logging/grafanacloudlogs/list.go +++ b/pkg/commands/service/logging/grafanacloudlogs/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/grafanacloudlogs/update.go b/pkg/commands/service/logging/grafanacloudlogs/update.go index a55f87adf..c6ee4dab9 100644 --- a/pkg/commands/service/logging/grafanacloudlogs/update.go +++ b/pkg/commands/service/logging/grafanacloudlogs/update.go @@ -5,7 +5,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/heroku/create.go b/pkg/commands/service/logging/heroku/create.go index d1af6715f..ff74bb1b1 100644 --- a/pkg/commands/service/logging/heroku/create.go +++ b/pkg/commands/service/logging/heroku/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/heroku/delete.go b/pkg/commands/service/logging/heroku/delete.go index 67fd1b3d7..bebc99fef 100644 --- a/pkg/commands/service/logging/heroku/delete.go +++ b/pkg/commands/service/logging/heroku/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/heroku/describe.go b/pkg/commands/service/logging/heroku/describe.go index f8ab60443..35bdff369 100644 --- a/pkg/commands/service/logging/heroku/describe.go +++ b/pkg/commands/service/logging/heroku/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/heroku/heroku_integration_test.go b/pkg/commands/service/logging/heroku/heroku_integration_test.go index 1c22abe83..14ac4f8f1 100644 --- a/pkg/commands/service/logging/heroku/heroku_integration_test.go +++ b/pkg/commands/service/logging/heroku/heroku_integration_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/mock" "github.com/fastly/cli/pkg/testutil" diff --git a/pkg/commands/service/logging/heroku/heroku_test.go b/pkg/commands/service/logging/heroku/heroku_test.go index d6a87e023..b017c1445 100644 --- a/pkg/commands/service/logging/heroku/heroku_test.go +++ b/pkg/commands/service/logging/heroku/heroku_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/service/logging/heroku" diff --git a/pkg/commands/service/logging/heroku/list.go b/pkg/commands/service/logging/heroku/list.go index 2a6c7e261..bc6f91535 100644 --- a/pkg/commands/service/logging/heroku/list.go +++ b/pkg/commands/service/logging/heroku/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/heroku/update.go b/pkg/commands/service/logging/heroku/update.go index e6fb87424..f64d11c23 100644 --- a/pkg/commands/service/logging/heroku/update.go +++ b/pkg/commands/service/logging/heroku/update.go @@ -5,7 +5,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/honeycomb/create.go b/pkg/commands/service/logging/honeycomb/create.go index 0cccf640a..586bc8286 100644 --- a/pkg/commands/service/logging/honeycomb/create.go +++ b/pkg/commands/service/logging/honeycomb/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/honeycomb/delete.go b/pkg/commands/service/logging/honeycomb/delete.go index a32f4c378..65266f01b 100644 --- a/pkg/commands/service/logging/honeycomb/delete.go +++ b/pkg/commands/service/logging/honeycomb/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/honeycomb/describe.go b/pkg/commands/service/logging/honeycomb/describe.go index c4ac6a284..d9825e31e 100644 --- a/pkg/commands/service/logging/honeycomb/describe.go +++ b/pkg/commands/service/logging/honeycomb/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/honeycomb/honeycomb_integration_test.go b/pkg/commands/service/logging/honeycomb/honeycomb_integration_test.go index 1fb041e50..de78291a4 100644 --- a/pkg/commands/service/logging/honeycomb/honeycomb_integration_test.go +++ b/pkg/commands/service/logging/honeycomb/honeycomb_integration_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/service" parent "github.com/fastly/cli/pkg/commands/service/logging" diff --git a/pkg/commands/service/logging/honeycomb/honeycomb_test.go b/pkg/commands/service/logging/honeycomb/honeycomb_test.go index 900c39645..41998181c 100644 --- a/pkg/commands/service/logging/honeycomb/honeycomb_test.go +++ b/pkg/commands/service/logging/honeycomb/honeycomb_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/service/logging/honeycomb" diff --git a/pkg/commands/service/logging/honeycomb/list.go b/pkg/commands/service/logging/honeycomb/list.go index 65f7616c7..51acf9464 100644 --- a/pkg/commands/service/logging/honeycomb/list.go +++ b/pkg/commands/service/logging/honeycomb/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/honeycomb/update.go b/pkg/commands/service/logging/honeycomb/update.go index 5304cea1f..7133d00cc 100644 --- a/pkg/commands/service/logging/honeycomb/update.go +++ b/pkg/commands/service/logging/honeycomb/update.go @@ -5,7 +5,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/https/create.go b/pkg/commands/service/logging/https/create.go index 7ca522d66..e98cf6d7a 100644 --- a/pkg/commands/service/logging/https/create.go +++ b/pkg/commands/service/logging/https/create.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/https/delete.go b/pkg/commands/service/logging/https/delete.go index bc6271977..95ea2d042 100644 --- a/pkg/commands/service/logging/https/delete.go +++ b/pkg/commands/service/logging/https/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/https/describe.go b/pkg/commands/service/logging/https/describe.go index 6c2c748fb..de3b1438a 100644 --- a/pkg/commands/service/logging/https/describe.go +++ b/pkg/commands/service/logging/https/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/https/https_integration_test.go b/pkg/commands/service/logging/https/https_integration_test.go index 79a1377bb..0bca942ce 100644 --- a/pkg/commands/service/logging/https/https_integration_test.go +++ b/pkg/commands/service/logging/https/https_integration_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/mock" "github.com/fastly/cli/pkg/testutil" diff --git a/pkg/commands/service/logging/https/https_test.go b/pkg/commands/service/logging/https/https_test.go index 83d841675..c14da4b78 100644 --- a/pkg/commands/service/logging/https/https_test.go +++ b/pkg/commands/service/logging/https/https_test.go @@ -5,7 +5,7 @@ import ( "net/http" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/service/logging/https" diff --git a/pkg/commands/service/logging/https/list.go b/pkg/commands/service/logging/https/list.go index 9f35f4440..2d03571e6 100644 --- a/pkg/commands/service/logging/https/list.go +++ b/pkg/commands/service/logging/https/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/https/update.go b/pkg/commands/service/logging/https/update.go index 9fb3b2026..4b4068e5c 100644 --- a/pkg/commands/service/logging/https/update.go +++ b/pkg/commands/service/logging/https/update.go @@ -5,7 +5,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/insights/insights_test.go b/pkg/commands/service/logging/insights/insights_test.go index 9c7b9b80e..444b2d61d 100644 --- a/pkg/commands/service/logging/insights/insights_test.go +++ b/pkg/commands/service/logging/insights/insights_test.go @@ -6,7 +6,7 @@ import ( "fmt" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/commands/service" "github.com/fastly/cli/pkg/commands/service/logging" diff --git a/pkg/commands/service/logging/insights/root.go b/pkg/commands/service/logging/insights/root.go index a661b9723..f14f05044 100644 --- a/pkg/commands/service/logging/insights/root.go +++ b/pkg/commands/service/logging/insights/root.go @@ -7,7 +7,7 @@ import ( "strconv" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/kafka/create.go b/pkg/commands/service/logging/kafka/create.go index a56aa7a87..1e3477454 100644 --- a/pkg/commands/service/logging/kafka/create.go +++ b/pkg/commands/service/logging/kafka/create.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/kafka/delete.go b/pkg/commands/service/logging/kafka/delete.go index aabb6d9ce..bbf8c45b2 100644 --- a/pkg/commands/service/logging/kafka/delete.go +++ b/pkg/commands/service/logging/kafka/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/kafka/describe.go b/pkg/commands/service/logging/kafka/describe.go index 3ef060def..977eb27c9 100644 --- a/pkg/commands/service/logging/kafka/describe.go +++ b/pkg/commands/service/logging/kafka/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/kafka/kafka_integration_test.go b/pkg/commands/service/logging/kafka/kafka_integration_test.go index 2a27a3dcd..a1e1a3010 100644 --- a/pkg/commands/service/logging/kafka/kafka_integration_test.go +++ b/pkg/commands/service/logging/kafka/kafka_integration_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/mock" "github.com/fastly/cli/pkg/testutil" diff --git a/pkg/commands/service/logging/kafka/kafka_test.go b/pkg/commands/service/logging/kafka/kafka_test.go index 55df5b8ec..9f1e1035d 100644 --- a/pkg/commands/service/logging/kafka/kafka_test.go +++ b/pkg/commands/service/logging/kafka/kafka_test.go @@ -5,7 +5,7 @@ import ( "context" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/service/logging/kafka" diff --git a/pkg/commands/service/logging/kafka/list.go b/pkg/commands/service/logging/kafka/list.go index a4c1df02e..5cede7858 100644 --- a/pkg/commands/service/logging/kafka/list.go +++ b/pkg/commands/service/logging/kafka/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/kafka/update.go b/pkg/commands/service/logging/kafka/update.go index 706ddda88..14eeb43c5 100644 --- a/pkg/commands/service/logging/kafka/update.go +++ b/pkg/commands/service/logging/kafka/update.go @@ -6,7 +6,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/kinesis/create.go b/pkg/commands/service/logging/kinesis/create.go index 81c78929a..60950785a 100644 --- a/pkg/commands/service/logging/kinesis/create.go +++ b/pkg/commands/service/logging/kinesis/create.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/kinesis/delete.go b/pkg/commands/service/logging/kinesis/delete.go index 56e1fe2d5..c4e621ded 100644 --- a/pkg/commands/service/logging/kinesis/delete.go +++ b/pkg/commands/service/logging/kinesis/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/kinesis/describe.go b/pkg/commands/service/logging/kinesis/describe.go index c67b6fe65..ad7bb24fe 100644 --- a/pkg/commands/service/logging/kinesis/describe.go +++ b/pkg/commands/service/logging/kinesis/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/kinesis/kinesis_integration_test.go b/pkg/commands/service/logging/kinesis/kinesis_integration_test.go index e439d2b84..57b38576c 100644 --- a/pkg/commands/service/logging/kinesis/kinesis_integration_test.go +++ b/pkg/commands/service/logging/kinesis/kinesis_integration_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/mock" "github.com/fastly/cli/pkg/testutil" diff --git a/pkg/commands/service/logging/kinesis/kinesis_test.go b/pkg/commands/service/logging/kinesis/kinesis_test.go index 251202796..06b22e4c9 100644 --- a/pkg/commands/service/logging/kinesis/kinesis_test.go +++ b/pkg/commands/service/logging/kinesis/kinesis_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/service/logging/kinesis" diff --git a/pkg/commands/service/logging/kinesis/list.go b/pkg/commands/service/logging/kinesis/list.go index cc6058cd9..454d28b5d 100644 --- a/pkg/commands/service/logging/kinesis/list.go +++ b/pkg/commands/service/logging/kinesis/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/kinesis/update.go b/pkg/commands/service/logging/kinesis/update.go index 41ae7d575..6ad0515b7 100644 --- a/pkg/commands/service/logging/kinesis/update.go +++ b/pkg/commands/service/logging/kinesis/update.go @@ -5,7 +5,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/logexplorer/logexplorer_test.go b/pkg/commands/service/logging/logexplorer/logexplorer_test.go index 96ecac863..f95549631 100644 --- a/pkg/commands/service/logging/logexplorer/logexplorer_test.go +++ b/pkg/commands/service/logging/logexplorer/logexplorer_test.go @@ -6,7 +6,7 @@ import ( "fmt" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/commands/service" "github.com/fastly/cli/pkg/commands/service/logging" diff --git a/pkg/commands/service/logging/logexplorer/root.go b/pkg/commands/service/logging/logexplorer/root.go index deb7a756f..1b064ee31 100644 --- a/pkg/commands/service/logging/logexplorer/root.go +++ b/pkg/commands/service/logging/logexplorer/root.go @@ -6,7 +6,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/loggly/create.go b/pkg/commands/service/logging/loggly/create.go index 631011e44..89fbb4760 100644 --- a/pkg/commands/service/logging/loggly/create.go +++ b/pkg/commands/service/logging/loggly/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/loggly/delete.go b/pkg/commands/service/logging/loggly/delete.go index 0eccaf88f..54aabedb5 100644 --- a/pkg/commands/service/logging/loggly/delete.go +++ b/pkg/commands/service/logging/loggly/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/loggly/describe.go b/pkg/commands/service/logging/loggly/describe.go index 8bd679ef9..4e4d8c076 100644 --- a/pkg/commands/service/logging/loggly/describe.go +++ b/pkg/commands/service/logging/loggly/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/loggly/list.go b/pkg/commands/service/logging/loggly/list.go index 555143336..ec04e5c49 100644 --- a/pkg/commands/service/logging/loggly/list.go +++ b/pkg/commands/service/logging/loggly/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/loggly/loggly_integration_test.go b/pkg/commands/service/logging/loggly/loggly_integration_test.go index 254eb59dc..4bd795c25 100644 --- a/pkg/commands/service/logging/loggly/loggly_integration_test.go +++ b/pkg/commands/service/logging/loggly/loggly_integration_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/mock" "github.com/fastly/cli/pkg/testutil" diff --git a/pkg/commands/service/logging/loggly/loggly_test.go b/pkg/commands/service/logging/loggly/loggly_test.go index c51bc580b..3006ae248 100644 --- a/pkg/commands/service/logging/loggly/loggly_test.go +++ b/pkg/commands/service/logging/loggly/loggly_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/service/logging/loggly" diff --git a/pkg/commands/service/logging/loggly/update.go b/pkg/commands/service/logging/loggly/update.go index f58b83efa..cd9ceb86c 100644 --- a/pkg/commands/service/logging/loggly/update.go +++ b/pkg/commands/service/logging/loggly/update.go @@ -5,7 +5,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/logshuttle/create.go b/pkg/commands/service/logging/logshuttle/create.go index deed2e3e3..ebc374d0f 100644 --- a/pkg/commands/service/logging/logshuttle/create.go +++ b/pkg/commands/service/logging/logshuttle/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/logshuttle/delete.go b/pkg/commands/service/logging/logshuttle/delete.go index a20ddcaf1..d22760481 100644 --- a/pkg/commands/service/logging/logshuttle/delete.go +++ b/pkg/commands/service/logging/logshuttle/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/logshuttle/describe.go b/pkg/commands/service/logging/logshuttle/describe.go index 287c9ca6d..9e76c0883 100644 --- a/pkg/commands/service/logging/logshuttle/describe.go +++ b/pkg/commands/service/logging/logshuttle/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/logshuttle/list.go b/pkg/commands/service/logging/logshuttle/list.go index 7ddef8040..f48e94d50 100644 --- a/pkg/commands/service/logging/logshuttle/list.go +++ b/pkg/commands/service/logging/logshuttle/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/logshuttle/logshuttle_integration_test.go b/pkg/commands/service/logging/logshuttle/logshuttle_integration_test.go index a1c9ae4f6..d679d7651 100644 --- a/pkg/commands/service/logging/logshuttle/logshuttle_integration_test.go +++ b/pkg/commands/service/logging/logshuttle/logshuttle_integration_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/mock" "github.com/fastly/cli/pkg/testutil" diff --git a/pkg/commands/service/logging/logshuttle/logshuttle_test.go b/pkg/commands/service/logging/logshuttle/logshuttle_test.go index 7fbc5c27e..1fa156839 100644 --- a/pkg/commands/service/logging/logshuttle/logshuttle_test.go +++ b/pkg/commands/service/logging/logshuttle/logshuttle_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/service/logging/logshuttle" diff --git a/pkg/commands/service/logging/logshuttle/update.go b/pkg/commands/service/logging/logshuttle/update.go index abefa1c71..9bfd9d816 100644 --- a/pkg/commands/service/logging/logshuttle/update.go +++ b/pkg/commands/service/logging/logshuttle/update.go @@ -5,7 +5,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/newrelic/create.go b/pkg/commands/service/logging/newrelic/create.go index 91037291e..2c8b3940a 100644 --- a/pkg/commands/service/logging/newrelic/create.go +++ b/pkg/commands/service/logging/newrelic/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/newrelic/delete.go b/pkg/commands/service/logging/newrelic/delete.go index d6dc74e16..f55633967 100644 --- a/pkg/commands/service/logging/newrelic/delete.go +++ b/pkg/commands/service/logging/newrelic/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/newrelic/describe.go b/pkg/commands/service/logging/newrelic/describe.go index 297993069..a5dbb7a3c 100644 --- a/pkg/commands/service/logging/newrelic/describe.go +++ b/pkg/commands/service/logging/newrelic/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/newrelic/list.go b/pkg/commands/service/logging/newrelic/list.go index b1cc22e1e..7d4f7f231 100644 --- a/pkg/commands/service/logging/newrelic/list.go +++ b/pkg/commands/service/logging/newrelic/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/newrelic/newrelic_test.go b/pkg/commands/service/logging/newrelic/newrelic_test.go index 07b3f8a84..5740694bb 100644 --- a/pkg/commands/service/logging/newrelic/newrelic_test.go +++ b/pkg/commands/service/logging/newrelic/newrelic_test.go @@ -5,7 +5,7 @@ import ( "fmt" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" serviceRoot "github.com/fastly/cli/pkg/commands/service" loggingRoot "github.com/fastly/cli/pkg/commands/service/logging" diff --git a/pkg/commands/service/logging/newrelic/update.go b/pkg/commands/service/logging/newrelic/update.go index 5a1ff8b02..04305ab7b 100644 --- a/pkg/commands/service/logging/newrelic/update.go +++ b/pkg/commands/service/logging/newrelic/update.go @@ -6,7 +6,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/newrelicotlp/create.go b/pkg/commands/service/logging/newrelicotlp/create.go index 7495df13d..8743e4ebd 100644 --- a/pkg/commands/service/logging/newrelicotlp/create.go +++ b/pkg/commands/service/logging/newrelicotlp/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/newrelicotlp/delete.go b/pkg/commands/service/logging/newrelicotlp/delete.go index ce3f2f1e9..fba928f5b 100644 --- a/pkg/commands/service/logging/newrelicotlp/delete.go +++ b/pkg/commands/service/logging/newrelicotlp/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/newrelicotlp/describe.go b/pkg/commands/service/logging/newrelicotlp/describe.go index 75f457469..ba36c4dee 100644 --- a/pkg/commands/service/logging/newrelicotlp/describe.go +++ b/pkg/commands/service/logging/newrelicotlp/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/newrelicotlp/list.go b/pkg/commands/service/logging/newrelicotlp/list.go index 3acf59010..0396502ab 100644 --- a/pkg/commands/service/logging/newrelicotlp/list.go +++ b/pkg/commands/service/logging/newrelicotlp/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/newrelicotlp/newrelicotlp_test.go b/pkg/commands/service/logging/newrelicotlp/newrelicotlp_test.go index 1d4cd2062..b19621e8b 100644 --- a/pkg/commands/service/logging/newrelicotlp/newrelicotlp_test.go +++ b/pkg/commands/service/logging/newrelicotlp/newrelicotlp_test.go @@ -5,7 +5,7 @@ import ( "fmt" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" serviceRoot "github.com/fastly/cli/pkg/commands/service" loggingRoot "github.com/fastly/cli/pkg/commands/service/logging" diff --git a/pkg/commands/service/logging/newrelicotlp/update.go b/pkg/commands/service/logging/newrelicotlp/update.go index 270dd587a..8b030e0c8 100644 --- a/pkg/commands/service/logging/newrelicotlp/update.go +++ b/pkg/commands/service/logging/newrelicotlp/update.go @@ -6,7 +6,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/openstack/create.go b/pkg/commands/service/logging/openstack/create.go index cb6c5227f..1c2b57f18 100644 --- a/pkg/commands/service/logging/openstack/create.go +++ b/pkg/commands/service/logging/openstack/create.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/openstack/delete.go b/pkg/commands/service/logging/openstack/delete.go index 07466b006..a6feb9b35 100644 --- a/pkg/commands/service/logging/openstack/delete.go +++ b/pkg/commands/service/logging/openstack/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/openstack/describe.go b/pkg/commands/service/logging/openstack/describe.go index 9d75e1ce1..ac75a1823 100644 --- a/pkg/commands/service/logging/openstack/describe.go +++ b/pkg/commands/service/logging/openstack/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/openstack/list.go b/pkg/commands/service/logging/openstack/list.go index a1db2a4c5..22f867a77 100644 --- a/pkg/commands/service/logging/openstack/list.go +++ b/pkg/commands/service/logging/openstack/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/openstack/openstack_integration_test.go b/pkg/commands/service/logging/openstack/openstack_integration_test.go index 53dd57bea..2b95d4653 100644 --- a/pkg/commands/service/logging/openstack/openstack_integration_test.go +++ b/pkg/commands/service/logging/openstack/openstack_integration_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/mock" "github.com/fastly/cli/pkg/testutil" diff --git a/pkg/commands/service/logging/openstack/openstack_test.go b/pkg/commands/service/logging/openstack/openstack_test.go index 5bcc77628..0edfeda00 100644 --- a/pkg/commands/service/logging/openstack/openstack_test.go +++ b/pkg/commands/service/logging/openstack/openstack_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/service/logging/openstack" diff --git a/pkg/commands/service/logging/openstack/update.go b/pkg/commands/service/logging/openstack/update.go index 23db14b00..393f5779f 100644 --- a/pkg/commands/service/logging/openstack/update.go +++ b/pkg/commands/service/logging/openstack/update.go @@ -5,7 +5,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/papertrail/create.go b/pkg/commands/service/logging/papertrail/create.go index 450bcb19a..50de3e167 100644 --- a/pkg/commands/service/logging/papertrail/create.go +++ b/pkg/commands/service/logging/papertrail/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/papertrail/delete.go b/pkg/commands/service/logging/papertrail/delete.go index e8fac3164..4cc18e45a 100644 --- a/pkg/commands/service/logging/papertrail/delete.go +++ b/pkg/commands/service/logging/papertrail/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/papertrail/describe.go b/pkg/commands/service/logging/papertrail/describe.go index 1e81aec04..b9bc001d3 100644 --- a/pkg/commands/service/logging/papertrail/describe.go +++ b/pkg/commands/service/logging/papertrail/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/papertrail/list.go b/pkg/commands/service/logging/papertrail/list.go index bde7f0915..6ef573785 100644 --- a/pkg/commands/service/logging/papertrail/list.go +++ b/pkg/commands/service/logging/papertrail/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/papertrail/papertrail_integration_test.go b/pkg/commands/service/logging/papertrail/papertrail_integration_test.go index 15a7c8e4f..4959a24da 100644 --- a/pkg/commands/service/logging/papertrail/papertrail_integration_test.go +++ b/pkg/commands/service/logging/papertrail/papertrail_integration_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/mock" "github.com/fastly/cli/pkg/testutil" diff --git a/pkg/commands/service/logging/papertrail/papertrail_test.go b/pkg/commands/service/logging/papertrail/papertrail_test.go index a2e448d51..361b765c0 100644 --- a/pkg/commands/service/logging/papertrail/papertrail_test.go +++ b/pkg/commands/service/logging/papertrail/papertrail_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/service/logging/papertrail" diff --git a/pkg/commands/service/logging/papertrail/update.go b/pkg/commands/service/logging/papertrail/update.go index 7f3b556a6..e04c92f32 100644 --- a/pkg/commands/service/logging/papertrail/update.go +++ b/pkg/commands/service/logging/papertrail/update.go @@ -5,7 +5,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/s3/create.go b/pkg/commands/service/logging/s3/create.go index 7582fc6c5..b0760273d 100644 --- a/pkg/commands/service/logging/s3/create.go +++ b/pkg/commands/service/logging/s3/create.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/s3/delete.go b/pkg/commands/service/logging/s3/delete.go index 082786b3e..5ca08413f 100644 --- a/pkg/commands/service/logging/s3/delete.go +++ b/pkg/commands/service/logging/s3/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/s3/describe.go b/pkg/commands/service/logging/s3/describe.go index 508f57bc1..f3db73924 100644 --- a/pkg/commands/service/logging/s3/describe.go +++ b/pkg/commands/service/logging/s3/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/s3/list.go b/pkg/commands/service/logging/s3/list.go index e3ba20ab3..aa48c0fcd 100644 --- a/pkg/commands/service/logging/s3/list.go +++ b/pkg/commands/service/logging/s3/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/s3/s3_integration_test.go b/pkg/commands/service/logging/s3/s3_integration_test.go index 11a26a200..aa2d705b3 100644 --- a/pkg/commands/service/logging/s3/s3_integration_test.go +++ b/pkg/commands/service/logging/s3/s3_integration_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/mock" "github.com/fastly/cli/pkg/testutil" diff --git a/pkg/commands/service/logging/s3/s3_test.go b/pkg/commands/service/logging/s3/s3_test.go index d6f1d828d..2bf113a9a 100644 --- a/pkg/commands/service/logging/s3/s3_test.go +++ b/pkg/commands/service/logging/s3/s3_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/service/logging/s3" diff --git a/pkg/commands/service/logging/s3/update.go b/pkg/commands/service/logging/s3/update.go index 8c1f757f8..eb8d4c29a 100644 --- a/pkg/commands/service/logging/s3/update.go +++ b/pkg/commands/service/logging/s3/update.go @@ -5,7 +5,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/scalyr/create.go b/pkg/commands/service/logging/scalyr/create.go index cd7d05c4b..8f83cf841 100644 --- a/pkg/commands/service/logging/scalyr/create.go +++ b/pkg/commands/service/logging/scalyr/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/scalyr/delete.go b/pkg/commands/service/logging/scalyr/delete.go index 31d7e0d1e..8d22391be 100644 --- a/pkg/commands/service/logging/scalyr/delete.go +++ b/pkg/commands/service/logging/scalyr/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/scalyr/describe.go b/pkg/commands/service/logging/scalyr/describe.go index 7920e7b2c..ae77a9626 100644 --- a/pkg/commands/service/logging/scalyr/describe.go +++ b/pkg/commands/service/logging/scalyr/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/scalyr/list.go b/pkg/commands/service/logging/scalyr/list.go index 5cc831cc9..dda4b1de1 100644 --- a/pkg/commands/service/logging/scalyr/list.go +++ b/pkg/commands/service/logging/scalyr/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/scalyr/scalyr_integration_test.go b/pkg/commands/service/logging/scalyr/scalyr_integration_test.go index feee7bc93..4fcdebadb 100644 --- a/pkg/commands/service/logging/scalyr/scalyr_integration_test.go +++ b/pkg/commands/service/logging/scalyr/scalyr_integration_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" fsterrs "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/mock" diff --git a/pkg/commands/service/logging/scalyr/scalyr_test.go b/pkg/commands/service/logging/scalyr/scalyr_test.go index 2217c23d9..9c87af6b3 100644 --- a/pkg/commands/service/logging/scalyr/scalyr_test.go +++ b/pkg/commands/service/logging/scalyr/scalyr_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/service/logging/scalyr" diff --git a/pkg/commands/service/logging/scalyr/update.go b/pkg/commands/service/logging/scalyr/update.go index e2ef73f30..965769e48 100644 --- a/pkg/commands/service/logging/scalyr/update.go +++ b/pkg/commands/service/logging/scalyr/update.go @@ -5,7 +5,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/sftp/create.go b/pkg/commands/service/logging/sftp/create.go index e9dd2db25..4a1ac4a0b 100644 --- a/pkg/commands/service/logging/sftp/create.go +++ b/pkg/commands/service/logging/sftp/create.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/sftp/delete.go b/pkg/commands/service/logging/sftp/delete.go index 61aa015bc..4e6283b87 100644 --- a/pkg/commands/service/logging/sftp/delete.go +++ b/pkg/commands/service/logging/sftp/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/sftp/describe.go b/pkg/commands/service/logging/sftp/describe.go index 361299494..d9f56c107 100644 --- a/pkg/commands/service/logging/sftp/describe.go +++ b/pkg/commands/service/logging/sftp/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/sftp/list.go b/pkg/commands/service/logging/sftp/list.go index d853a2221..99dfeb7ed 100644 --- a/pkg/commands/service/logging/sftp/list.go +++ b/pkg/commands/service/logging/sftp/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/sftp/sftp_integration_test.go b/pkg/commands/service/logging/sftp/sftp_integration_test.go index 819b93250..b9fc9319c 100644 --- a/pkg/commands/service/logging/sftp/sftp_integration_test.go +++ b/pkg/commands/service/logging/sftp/sftp_integration_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/mock" "github.com/fastly/cli/pkg/testutil" diff --git a/pkg/commands/service/logging/sftp/sftp_test.go b/pkg/commands/service/logging/sftp/sftp_test.go index cb9ce5e20..579bdfa16 100644 --- a/pkg/commands/service/logging/sftp/sftp_test.go +++ b/pkg/commands/service/logging/sftp/sftp_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/service/logging/sftp" diff --git a/pkg/commands/service/logging/sftp/update.go b/pkg/commands/service/logging/sftp/update.go index 5f80e73f7..7aabd30ae 100644 --- a/pkg/commands/service/logging/sftp/update.go +++ b/pkg/commands/service/logging/sftp/update.go @@ -5,7 +5,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/splunk/create.go b/pkg/commands/service/logging/splunk/create.go index 65f2b635b..c2edbd281 100644 --- a/pkg/commands/service/logging/splunk/create.go +++ b/pkg/commands/service/logging/splunk/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/splunk/delete.go b/pkg/commands/service/logging/splunk/delete.go index b07e36da7..3d4f785f9 100644 --- a/pkg/commands/service/logging/splunk/delete.go +++ b/pkg/commands/service/logging/splunk/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/splunk/describe.go b/pkg/commands/service/logging/splunk/describe.go index 1ccd3fbe1..f62984210 100644 --- a/pkg/commands/service/logging/splunk/describe.go +++ b/pkg/commands/service/logging/splunk/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/splunk/list.go b/pkg/commands/service/logging/splunk/list.go index 80e6d20d5..510bfc546 100644 --- a/pkg/commands/service/logging/splunk/list.go +++ b/pkg/commands/service/logging/splunk/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/splunk/splunk_integration_test.go b/pkg/commands/service/logging/splunk/splunk_integration_test.go index 98498682c..d59c60ebc 100644 --- a/pkg/commands/service/logging/splunk/splunk_integration_test.go +++ b/pkg/commands/service/logging/splunk/splunk_integration_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/service" parent "github.com/fastly/cli/pkg/commands/service/logging" diff --git a/pkg/commands/service/logging/splunk/splunk_test.go b/pkg/commands/service/logging/splunk/splunk_test.go index 33a3a8bf9..f386861a5 100644 --- a/pkg/commands/service/logging/splunk/splunk_test.go +++ b/pkg/commands/service/logging/splunk/splunk_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/service/logging/splunk" diff --git a/pkg/commands/service/logging/splunk/update.go b/pkg/commands/service/logging/splunk/update.go index b0bd66689..3c4b75567 100644 --- a/pkg/commands/service/logging/splunk/update.go +++ b/pkg/commands/service/logging/splunk/update.go @@ -5,7 +5,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/sumologic/create.go b/pkg/commands/service/logging/sumologic/create.go index ed1a7edd3..118d09297 100644 --- a/pkg/commands/service/logging/sumologic/create.go +++ b/pkg/commands/service/logging/sumologic/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/sumologic/delete.go b/pkg/commands/service/logging/sumologic/delete.go index 8283357ad..20ac9c3ce 100644 --- a/pkg/commands/service/logging/sumologic/delete.go +++ b/pkg/commands/service/logging/sumologic/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/sumologic/describe.go b/pkg/commands/service/logging/sumologic/describe.go index 88e5101e8..1047afba7 100644 --- a/pkg/commands/service/logging/sumologic/describe.go +++ b/pkg/commands/service/logging/sumologic/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/sumologic/list.go b/pkg/commands/service/logging/sumologic/list.go index 296af865c..de9bba4dd 100644 --- a/pkg/commands/service/logging/sumologic/list.go +++ b/pkg/commands/service/logging/sumologic/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/sumologic/sumologic_integration_test.go b/pkg/commands/service/logging/sumologic/sumologic_integration_test.go index bd7233e16..8e889adce 100644 --- a/pkg/commands/service/logging/sumologic/sumologic_integration_test.go +++ b/pkg/commands/service/logging/sumologic/sumologic_integration_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/service" parent "github.com/fastly/cli/pkg/commands/service/logging" diff --git a/pkg/commands/service/logging/sumologic/sumologic_test.go b/pkg/commands/service/logging/sumologic/sumologic_test.go index e12defeb3..15cb5fe5f 100644 --- a/pkg/commands/service/logging/sumologic/sumologic_test.go +++ b/pkg/commands/service/logging/sumologic/sumologic_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/service/logging/sumologic" diff --git a/pkg/commands/service/logging/sumologic/update.go b/pkg/commands/service/logging/sumologic/update.go index a120264ba..55c4689e9 100644 --- a/pkg/commands/service/logging/sumologic/update.go +++ b/pkg/commands/service/logging/sumologic/update.go @@ -5,7 +5,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/syslog/create.go b/pkg/commands/service/logging/syslog/create.go index c79eb4056..28bcc08b0 100644 --- a/pkg/commands/service/logging/syslog/create.go +++ b/pkg/commands/service/logging/syslog/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/syslog/delete.go b/pkg/commands/service/logging/syslog/delete.go index fe11ffb5b..405c8c4ff 100644 --- a/pkg/commands/service/logging/syslog/delete.go +++ b/pkg/commands/service/logging/syslog/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/logging/syslog/describe.go b/pkg/commands/service/logging/syslog/describe.go index 9c8178fa9..5e1d7afa9 100644 --- a/pkg/commands/service/logging/syslog/describe.go +++ b/pkg/commands/service/logging/syslog/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/syslog/list.go b/pkg/commands/service/logging/syslog/list.go index 96f5cfc00..098dc6c3a 100644 --- a/pkg/commands/service/logging/syslog/list.go +++ b/pkg/commands/service/logging/syslog/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/logging/syslog/syslog_integration_test.go b/pkg/commands/service/logging/syslog/syslog_integration_test.go index c21bbd978..09d83cb23 100644 --- a/pkg/commands/service/logging/syslog/syslog_integration_test.go +++ b/pkg/commands/service/logging/syslog/syslog_integration_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/mock" "github.com/fastly/cli/pkg/testutil" diff --git a/pkg/commands/service/logging/syslog/syslog_test.go b/pkg/commands/service/logging/syslog/syslog_test.go index 583e429d6..831756912 100644 --- a/pkg/commands/service/logging/syslog/syslog_test.go +++ b/pkg/commands/service/logging/syslog/syslog_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/service/logging/syslog" diff --git a/pkg/commands/service/logging/syslog/update.go b/pkg/commands/service/logging/syslog/update.go index bcbcb3b7f..f6490a34a 100644 --- a/pkg/commands/service/logging/syslog/update.go +++ b/pkg/commands/service/logging/syslog/update.go @@ -5,7 +5,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/purge/purge.go b/pkg/commands/service/purge/purge.go index 4d5dd0d40..3d9cd9445 100644 --- a/pkg/commands/service/purge/purge.go +++ b/pkg/commands/service/purge/purge.go @@ -9,7 +9,7 @@ import ( "path/filepath" "sort" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/purge/purge_test.go b/pkg/commands/service/purge/purge_test.go index 855681936..677c68d74 100644 --- a/pkg/commands/service/purge/purge_test.go +++ b/pkg/commands/service/purge/purge_test.go @@ -5,7 +5,7 @@ import ( "reflect" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/service" purge "github.com/fastly/cli/pkg/commands/service/purge" diff --git a/pkg/commands/service/ratelimit/create.go b/pkg/commands/service/ratelimit/create.go index 0a0b366ef..44eb0e600 100644 --- a/pkg/commands/service/ratelimit/create.go +++ b/pkg/commands/service/ratelimit/create.go @@ -7,7 +7,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/ratelimit/delete.go b/pkg/commands/service/ratelimit/delete.go index 7d584f58e..6c924a253 100644 --- a/pkg/commands/service/ratelimit/delete.go +++ b/pkg/commands/service/ratelimit/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/service/ratelimit/describe.go b/pkg/commands/service/ratelimit/describe.go index a261e8a85..8fa9f4ad3 100644 --- a/pkg/commands/service/ratelimit/describe.go +++ b/pkg/commands/service/ratelimit/describe.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/ratelimit/list.go b/pkg/commands/service/ratelimit/list.go index 1a464934a..ae4413185 100644 --- a/pkg/commands/service/ratelimit/list.go +++ b/pkg/commands/service/ratelimit/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/ratelimit/ratelimit_test.go b/pkg/commands/service/ratelimit/ratelimit_test.go index 1e8e516a3..ca16e7620 100644 --- a/pkg/commands/service/ratelimit/ratelimit_test.go +++ b/pkg/commands/service/ratelimit/ratelimit_test.go @@ -4,7 +4,7 @@ import ( "context" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/service" sub "github.com/fastly/cli/pkg/commands/service/ratelimit" diff --git a/pkg/commands/service/ratelimit/update.go b/pkg/commands/service/ratelimit/update.go index 162f29c79..7c99de185 100644 --- a/pkg/commands/service/ratelimit/update.go +++ b/pkg/commands/service/ratelimit/update.go @@ -7,7 +7,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/resourcelink/create.go b/pkg/commands/service/resourcelink/create.go index 4ab077a11..7b03c89bd 100644 --- a/pkg/commands/service/resourcelink/create.go +++ b/pkg/commands/service/resourcelink/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/resourcelink/delete.go b/pkg/commands/service/resourcelink/delete.go index 0329ab2d0..14a01cf57 100644 --- a/pkg/commands/service/resourcelink/delete.go +++ b/pkg/commands/service/resourcelink/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/resourcelink/describe.go b/pkg/commands/service/resourcelink/describe.go index 1eb5464b5..f9511c35c 100644 --- a/pkg/commands/service/resourcelink/describe.go +++ b/pkg/commands/service/resourcelink/describe.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/resourcelink/list.go b/pkg/commands/service/resourcelink/list.go index e76da68da..30e09609b 100644 --- a/pkg/commands/service/resourcelink/list.go +++ b/pkg/commands/service/resourcelink/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/resourcelink/resourcelink_test.go b/pkg/commands/service/resourcelink/resourcelink_test.go index 93793bcd8..e790dda38 100644 --- a/pkg/commands/service/resourcelink/resourcelink_test.go +++ b/pkg/commands/service/resourcelink/resourcelink_test.go @@ -8,7 +8,7 @@ import ( root "github.com/fastly/cli/pkg/commands/service" sub "github.com/fastly/cli/pkg/commands/service/resourcelink" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/mock" "github.com/fastly/cli/pkg/testutil" diff --git a/pkg/commands/service/resourcelink/update.go b/pkg/commands/service/resourcelink/update.go index fd4092780..a52dadfc5 100644 --- a/pkg/commands/service/resourcelink/update.go +++ b/pkg/commands/service/resourcelink/update.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/search.go b/pkg/commands/service/search.go index 80459b0fb..e0695c093 100644 --- a/pkg/commands/service/search.go +++ b/pkg/commands/service/search.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/service_test.go b/pkg/commands/service/service_test.go index 1ce41f3b4..1a8f98bd5 100644 --- a/pkg/commands/service/service_test.go +++ b/pkg/commands/service/service_test.go @@ -12,7 +12,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/app" root "github.com/fastly/cli/pkg/commands/service" diff --git a/pkg/commands/service/update.go b/pkg/commands/service/update.go index 233005593..e6c9aaaa8 100644 --- a/pkg/commands/service/update.go +++ b/pkg/commands/service/update.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/service/vcl/condition/condition_test.go b/pkg/commands/service/vcl/condition/condition_test.go index f63be6c96..6bb206f82 100644 --- a/pkg/commands/service/vcl/condition/condition_test.go +++ b/pkg/commands/service/vcl/condition/condition_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" top "github.com/fastly/cli/pkg/commands/service" root "github.com/fastly/cli/pkg/commands/service/vcl" diff --git a/pkg/commands/service/vcl/condition/create.go b/pkg/commands/service/vcl/condition/create.go index 173cab12c..8a2b647b0 100644 --- a/pkg/commands/service/vcl/condition/create.go +++ b/pkg/commands/service/vcl/condition/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/vcl/condition/delete.go b/pkg/commands/service/vcl/condition/delete.go index 4bffb4740..fe2758ce9 100644 --- a/pkg/commands/service/vcl/condition/delete.go +++ b/pkg/commands/service/vcl/condition/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/vcl/condition/describe.go b/pkg/commands/service/vcl/condition/describe.go index f0919d3b7..5ac674047 100644 --- a/pkg/commands/service/vcl/condition/describe.go +++ b/pkg/commands/service/vcl/condition/describe.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/vcl/condition/list.go b/pkg/commands/service/vcl/condition/list.go index f725a4eaa..96a9f0b75 100644 --- a/pkg/commands/service/vcl/condition/list.go +++ b/pkg/commands/service/vcl/condition/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/vcl/condition/update.go b/pkg/commands/service/vcl/condition/update.go index 280b35ec5..ae4569f69 100644 --- a/pkg/commands/service/vcl/condition/update.go +++ b/pkg/commands/service/vcl/condition/update.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/vcl/custom/create.go b/pkg/commands/service/vcl/custom/create.go index 5ef1da710..8b4b839c2 100644 --- a/pkg/commands/service/vcl/custom/create.go +++ b/pkg/commands/service/vcl/custom/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/vcl/custom/custom_test.go b/pkg/commands/service/vcl/custom/custom_test.go index e9554327c..dcdad610d 100644 --- a/pkg/commands/service/vcl/custom/custom_test.go +++ b/pkg/commands/service/vcl/custom/custom_test.go @@ -5,7 +5,7 @@ import ( "fmt" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" top "github.com/fastly/cli/pkg/commands/service" root "github.com/fastly/cli/pkg/commands/service/vcl" diff --git a/pkg/commands/service/vcl/custom/delete.go b/pkg/commands/service/vcl/custom/delete.go index 1ff45ea20..4bb4b6d06 100644 --- a/pkg/commands/service/vcl/custom/delete.go +++ b/pkg/commands/service/vcl/custom/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/vcl/custom/describe.go b/pkg/commands/service/vcl/custom/describe.go index a9952550a..e05dd8ffd 100644 --- a/pkg/commands/service/vcl/custom/describe.go +++ b/pkg/commands/service/vcl/custom/describe.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/vcl/custom/list.go b/pkg/commands/service/vcl/custom/list.go index 5e58ac76d..7358cd885 100644 --- a/pkg/commands/service/vcl/custom/list.go +++ b/pkg/commands/service/vcl/custom/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/vcl/custom/update.go b/pkg/commands/service/vcl/custom/update.go index b10757205..36977764a 100644 --- a/pkg/commands/service/vcl/custom/update.go +++ b/pkg/commands/service/vcl/custom/update.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/vcl/describe.go b/pkg/commands/service/vcl/describe.go index d0987c0e2..2d0b77d82 100644 --- a/pkg/commands/service/vcl/describe.go +++ b/pkg/commands/service/vcl/describe.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/vcl/snippet/create.go b/pkg/commands/service/vcl/snippet/create.go index 16795938b..d0e3bb6eb 100644 --- a/pkg/commands/service/vcl/snippet/create.go +++ b/pkg/commands/service/vcl/snippet/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/vcl/snippet/delete.go b/pkg/commands/service/vcl/snippet/delete.go index ed93f1c50..c46244f55 100644 --- a/pkg/commands/service/vcl/snippet/delete.go +++ b/pkg/commands/service/vcl/snippet/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/vcl/snippet/describe.go b/pkg/commands/service/vcl/snippet/describe.go index ec55d8dcb..9a0cd79e6 100644 --- a/pkg/commands/service/vcl/snippet/describe.go +++ b/pkg/commands/service/vcl/snippet/describe.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/vcl/snippet/list.go b/pkg/commands/service/vcl/snippet/list.go index d63436eaf..44d4af1d0 100644 --- a/pkg/commands/service/vcl/snippet/list.go +++ b/pkg/commands/service/vcl/snippet/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/vcl/snippet/snippet_test.go b/pkg/commands/service/vcl/snippet/snippet_test.go index f60796afd..81ba09cf9 100644 --- a/pkg/commands/service/vcl/snippet/snippet_test.go +++ b/pkg/commands/service/vcl/snippet/snippet_test.go @@ -5,7 +5,7 @@ import ( "fmt" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" top "github.com/fastly/cli/pkg/commands/service" root "github.com/fastly/cli/pkg/commands/service/vcl" diff --git a/pkg/commands/service/vcl/snippet/update.go b/pkg/commands/service/vcl/snippet/update.go index 5024a8860..7d9cac503 100644 --- a/pkg/commands/service/vcl/snippet/update.go +++ b/pkg/commands/service/vcl/snippet/update.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/vcl/vcl_test.go b/pkg/commands/service/vcl/vcl_test.go index a9395b737..041b996ac 100644 --- a/pkg/commands/service/vcl/vcl_test.go +++ b/pkg/commands/service/vcl/vcl_test.go @@ -4,7 +4,7 @@ import ( "context" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/service" sub "github.com/fastly/cli/pkg/commands/service/vcl" diff --git a/pkg/commands/service/version/activate.go b/pkg/commands/service/version/activate.go index 3efb42ce0..3f250a317 100644 --- a/pkg/commands/service/version/activate.go +++ b/pkg/commands/service/version/activate.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/version/clone.go b/pkg/commands/service/version/clone.go index 9e37e8ec6..89794db66 100644 --- a/pkg/commands/service/version/clone.go +++ b/pkg/commands/service/version/clone.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/version/deactivate.go b/pkg/commands/service/version/deactivate.go index 76ff401c8..59363553e 100644 --- a/pkg/commands/service/version/deactivate.go +++ b/pkg/commands/service/version/deactivate.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/version/list.go b/pkg/commands/service/version/list.go index 8ddaa4ca6..18818a156 100644 --- a/pkg/commands/service/version/list.go +++ b/pkg/commands/service/version/list.go @@ -6,7 +6,7 @@ import ( "io" "time" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/version/lock.go b/pkg/commands/service/version/lock.go index 0db0af950..868d3afed 100644 --- a/pkg/commands/service/version/lock.go +++ b/pkg/commands/service/version/lock.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/version/serviceversion_test.go b/pkg/commands/service/version/serviceversion_test.go index dad47bf49..bd82033b1 100644 --- a/pkg/commands/service/version/serviceversion_test.go +++ b/pkg/commands/service/version/serviceversion_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/service" sub "github.com/fastly/cli/pkg/commands/service/version" diff --git a/pkg/commands/service/version/stage.go b/pkg/commands/service/version/stage.go index 909e635e5..b166718da 100644 --- a/pkg/commands/service/version/stage.go +++ b/pkg/commands/service/version/stage.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/version/unstage.go b/pkg/commands/service/version/unstage.go index de6501a34..b072269b3 100644 --- a/pkg/commands/service/version/unstage.go +++ b/pkg/commands/service/version/unstage.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "4d63.com/optional" diff --git a/pkg/commands/service/version/update.go b/pkg/commands/service/version/update.go index c74079ec2..e12fbc62b 100644 --- a/pkg/commands/service/version/update.go +++ b/pkg/commands/service/version/update.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/version/validate.go b/pkg/commands/service/version/validate.go index c413358d0..af7dbad20 100644 --- a/pkg/commands/service/version/validate.go +++ b/pkg/commands/service/version/validate.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/sso/sso_test.go b/pkg/commands/sso/sso_test.go index 00f0ee1c9..54b0a51ff 100644 --- a/pkg/commands/sso/sso_test.go +++ b/pkg/commands/sso/sso_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/auth" "github.com/fastly/cli/pkg/config" diff --git a/pkg/commands/stats/aggregate.go b/pkg/commands/stats/aggregate.go index 06e713a22..41d5899fc 100644 --- a/pkg/commands/stats/aggregate.go +++ b/pkg/commands/stats/aggregate.go @@ -6,7 +6,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/stats/aggregate_test.go b/pkg/commands/stats/aggregate_test.go index 82dd93458..e2a820fec 100644 --- a/pkg/commands/stats/aggregate_test.go +++ b/pkg/commands/stats/aggregate_test.go @@ -7,7 +7,7 @@ import ( "io" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/stats/domain_inspector.go b/pkg/commands/stats/domain_inspector.go index 12b539dd8..5e569048a 100644 --- a/pkg/commands/stats/domain_inspector.go +++ b/pkg/commands/stats/domain_inspector.go @@ -8,7 +8,7 @@ import ( "strconv" "time" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/stats/domain_inspector_test.go b/pkg/commands/stats/domain_inspector_test.go index 921eead98..d14ae2fce 100644 --- a/pkg/commands/stats/domain_inspector_test.go +++ b/pkg/commands/stats/domain_inspector_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/stats/historical.go b/pkg/commands/stats/historical.go index 8760bc473..82e898c69 100644 --- a/pkg/commands/stats/historical.go +++ b/pkg/commands/stats/historical.go @@ -6,7 +6,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/stats/historical_test.go b/pkg/commands/stats/historical_test.go index 88d50afd1..5de8d03fc 100644 --- a/pkg/commands/stats/historical_test.go +++ b/pkg/commands/stats/historical_test.go @@ -5,7 +5,7 @@ import ( "encoding/json" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/stats" "github.com/fastly/cli/pkg/mock" diff --git a/pkg/commands/stats/origin_inspector.go b/pkg/commands/stats/origin_inspector.go index 262535da2..114867333 100644 --- a/pkg/commands/stats/origin_inspector.go +++ b/pkg/commands/stats/origin_inspector.go @@ -6,7 +6,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/stats/origin_inspector_test.go b/pkg/commands/stats/origin_inspector_test.go index a0370f6b0..029a73da4 100644 --- a/pkg/commands/stats/origin_inspector_test.go +++ b/pkg/commands/stats/origin_inspector_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/stats/realtime.go b/pkg/commands/stats/realtime.go index 2c46f7205..7eaccfb8f 100644 --- a/pkg/commands/stats/realtime.go +++ b/pkg/commands/stats/realtime.go @@ -6,7 +6,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/api" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/stats/regions_test.go b/pkg/commands/stats/regions_test.go index 7001a2467..41f353445 100644 --- a/pkg/commands/stats/regions_test.go +++ b/pkg/commands/stats/regions_test.go @@ -5,7 +5,7 @@ import ( "errors" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/stats" "github.com/fastly/cli/pkg/mock" diff --git a/pkg/commands/stats/template.go b/pkg/commands/stats/template.go index 197efb8b8..ff1ece2b7 100644 --- a/pkg/commands/stats/template.go +++ b/pkg/commands/stats/template.go @@ -8,7 +8,7 @@ import ( "github.com/mitchellh/mapstructure" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" ) var blockTemplate = template.Must(template.New("stats_block").Parse( diff --git a/pkg/commands/stats/usage.go b/pkg/commands/stats/usage.go index f9313d7eb..0acb08427 100644 --- a/pkg/commands/stats/usage.go +++ b/pkg/commands/stats/usage.go @@ -6,7 +6,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/stats/usage_test.go b/pkg/commands/stats/usage_test.go index 2335f01c3..18572125b 100644 --- a/pkg/commands/stats/usage_test.go +++ b/pkg/commands/stats/usage_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/tls/config/config_test.go b/pkg/commands/tls/config/config_test.go index b9689a7a5..37777277f 100644 --- a/pkg/commands/tls/config/config_test.go +++ b/pkg/commands/tls/config/config_test.go @@ -5,7 +5,7 @@ import ( "fmt" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/tls/config" "github.com/fastly/cli/pkg/mock" diff --git a/pkg/commands/tls/config/describe.go b/pkg/commands/tls/config/describe.go index a963d2a3e..3ece1b89b 100644 --- a/pkg/commands/tls/config/describe.go +++ b/pkg/commands/tls/config/describe.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/tls/config/list.go b/pkg/commands/tls/config/list.go index a475a00cb..d9f228b66 100644 --- a/pkg/commands/tls/config/list.go +++ b/pkg/commands/tls/config/list.go @@ -6,7 +6,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/tls/config/update.go b/pkg/commands/tls/config/update.go index 6d3494790..43929c751 100644 --- a/pkg/commands/tls/config/update.go +++ b/pkg/commands/tls/config/update.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/tls/custom/activation/activation_test.go b/pkg/commands/tls/custom/activation/activation_test.go index 3902d58a8..1e03c6e10 100644 --- a/pkg/commands/tls/custom/activation/activation_test.go +++ b/pkg/commands/tls/custom/activation/activation_test.go @@ -5,7 +5,7 @@ import ( "fmt" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/tls/custom" sub "github.com/fastly/cli/pkg/commands/tls/custom/activation" diff --git a/pkg/commands/tls/custom/activation/create.go b/pkg/commands/tls/custom/activation/create.go index 1b1abeead..a2ff6392d 100644 --- a/pkg/commands/tls/custom/activation/create.go +++ b/pkg/commands/tls/custom/activation/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/tls/custom/activation/delete.go b/pkg/commands/tls/custom/activation/delete.go index dbcda2714..9cf261c83 100644 --- a/pkg/commands/tls/custom/activation/delete.go +++ b/pkg/commands/tls/custom/activation/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/tls/custom/activation/describe.go b/pkg/commands/tls/custom/activation/describe.go index efa9db916..93076af3a 100644 --- a/pkg/commands/tls/custom/activation/describe.go +++ b/pkg/commands/tls/custom/activation/describe.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/tls/custom/activation/list.go b/pkg/commands/tls/custom/activation/list.go index 0fda66ef8..0b4a2a1ed 100644 --- a/pkg/commands/tls/custom/activation/list.go +++ b/pkg/commands/tls/custom/activation/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/tls/custom/activation/update.go b/pkg/commands/tls/custom/activation/update.go index 08baa8e13..02a11c7af 100644 --- a/pkg/commands/tls/custom/activation/update.go +++ b/pkg/commands/tls/custom/activation/update.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/tls/custom/certificate/certificate_test.go b/pkg/commands/tls/custom/certificate/certificate_test.go index 2af6d05e6..c067d16fe 100644 --- a/pkg/commands/tls/custom/certificate/certificate_test.go +++ b/pkg/commands/tls/custom/certificate/certificate_test.go @@ -5,7 +5,7 @@ import ( "fmt" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/tls/custom" sub "github.com/fastly/cli/pkg/commands/tls/custom/certificate" diff --git a/pkg/commands/tls/custom/certificate/create.go b/pkg/commands/tls/custom/certificate/create.go index 8cbc1f2b4..e210938bf 100644 --- a/pkg/commands/tls/custom/certificate/create.go +++ b/pkg/commands/tls/custom/certificate/create.go @@ -7,7 +7,7 @@ import ( "os" "path/filepath" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/tls/custom/certificate/delete.go b/pkg/commands/tls/custom/certificate/delete.go index 9b5be6aa8..2e1c8e6d9 100644 --- a/pkg/commands/tls/custom/certificate/delete.go +++ b/pkg/commands/tls/custom/certificate/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/tls/custom/certificate/describe.go b/pkg/commands/tls/custom/certificate/describe.go index 0bcdd5376..c8f805812 100644 --- a/pkg/commands/tls/custom/certificate/describe.go +++ b/pkg/commands/tls/custom/certificate/describe.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/tls/custom/certificate/list.go b/pkg/commands/tls/custom/certificate/list.go index 4710dc996..39abe8c58 100644 --- a/pkg/commands/tls/custom/certificate/list.go +++ b/pkg/commands/tls/custom/certificate/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/tls/custom/certificate/update.go b/pkg/commands/tls/custom/certificate/update.go index 11fb8d84d..6d884ffcf 100644 --- a/pkg/commands/tls/custom/certificate/update.go +++ b/pkg/commands/tls/custom/certificate/update.go @@ -7,7 +7,7 @@ import ( "os" "path/filepath" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/tls/custom/domain/domain_test.go b/pkg/commands/tls/custom/domain/domain_test.go index 53dc68980..ed9110a20 100644 --- a/pkg/commands/tls/custom/domain/domain_test.go +++ b/pkg/commands/tls/custom/domain/domain_test.go @@ -4,7 +4,7 @@ import ( "context" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/tls/custom" sub "github.com/fastly/cli/pkg/commands/tls/custom/domain" diff --git a/pkg/commands/tls/custom/domain/list.go b/pkg/commands/tls/custom/domain/list.go index e6b7d4d67..f9dfaff90 100644 --- a/pkg/commands/tls/custom/domain/list.go +++ b/pkg/commands/tls/custom/domain/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/tls/custom/privatekey/create.go b/pkg/commands/tls/custom/privatekey/create.go index ed1e151a6..e798b81ac 100644 --- a/pkg/commands/tls/custom/privatekey/create.go +++ b/pkg/commands/tls/custom/privatekey/create.go @@ -7,7 +7,7 @@ import ( "os" "path/filepath" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/tls/custom/privatekey/delete.go b/pkg/commands/tls/custom/privatekey/delete.go index 35e482294..1a3b77163 100644 --- a/pkg/commands/tls/custom/privatekey/delete.go +++ b/pkg/commands/tls/custom/privatekey/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/tls/custom/privatekey/describe.go b/pkg/commands/tls/custom/privatekey/describe.go index 93ed9c359..e9c809cc7 100644 --- a/pkg/commands/tls/custom/privatekey/describe.go +++ b/pkg/commands/tls/custom/privatekey/describe.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/tls/custom/privatekey/list.go b/pkg/commands/tls/custom/privatekey/list.go index 9bfefa384..de7c8d0b2 100644 --- a/pkg/commands/tls/custom/privatekey/list.go +++ b/pkg/commands/tls/custom/privatekey/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/tls/custom/privatekey/privatekey_test.go b/pkg/commands/tls/custom/privatekey/privatekey_test.go index e33f4e2a8..7cfc5a9ec 100644 --- a/pkg/commands/tls/custom/privatekey/privatekey_test.go +++ b/pkg/commands/tls/custom/privatekey/privatekey_test.go @@ -4,7 +4,7 @@ import ( "context" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/tls/custom" sub "github.com/fastly/cli/pkg/commands/tls/custom/privatekey" diff --git a/pkg/commands/tls/platform/create.go b/pkg/commands/tls/platform/create.go index 906757631..e2acef59d 100644 --- a/pkg/commands/tls/platform/create.go +++ b/pkg/commands/tls/platform/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/tls/platform/delete.go b/pkg/commands/tls/platform/delete.go index d2ee58d87..da2a854f9 100644 --- a/pkg/commands/tls/platform/delete.go +++ b/pkg/commands/tls/platform/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/tls/platform/describe.go b/pkg/commands/tls/platform/describe.go index 24741ada6..94d1b7cff 100644 --- a/pkg/commands/tls/platform/describe.go +++ b/pkg/commands/tls/platform/describe.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/tls/platform/list.go b/pkg/commands/tls/platform/list.go index dfbf2df92..f441d4484 100644 --- a/pkg/commands/tls/platform/list.go +++ b/pkg/commands/tls/platform/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/tls/platform/platform_test.go b/pkg/commands/tls/platform/platform_test.go index 4458c8ad7..7f9528583 100644 --- a/pkg/commands/tls/platform/platform_test.go +++ b/pkg/commands/tls/platform/platform_test.go @@ -5,7 +5,7 @@ import ( "fmt" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/tls/platform" "github.com/fastly/cli/pkg/mock" diff --git a/pkg/commands/tls/platform/update.go b/pkg/commands/tls/platform/update.go index daa486606..e67236d66 100644 --- a/pkg/commands/tls/platform/update.go +++ b/pkg/commands/tls/platform/update.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/tls/subscription/create.go b/pkg/commands/tls/subscription/create.go index 4b97ab1f8..4b1678f34 100644 --- a/pkg/commands/tls/subscription/create.go +++ b/pkg/commands/tls/subscription/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/tls/subscription/delete.go b/pkg/commands/tls/subscription/delete.go index 8ff257388..7b535d4a1 100644 --- a/pkg/commands/tls/subscription/delete.go +++ b/pkg/commands/tls/subscription/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/tls/subscription/describe.go b/pkg/commands/tls/subscription/describe.go index ae7bd25e3..90597ffce 100644 --- a/pkg/commands/tls/subscription/describe.go +++ b/pkg/commands/tls/subscription/describe.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/tls/subscription/list.go b/pkg/commands/tls/subscription/list.go index e825a55dc..efecb5ffe 100644 --- a/pkg/commands/tls/subscription/list.go +++ b/pkg/commands/tls/subscription/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/tls/subscription/subscription_test.go b/pkg/commands/tls/subscription/subscription_test.go index e9fbb4806..73a545566 100644 --- a/pkg/commands/tls/subscription/subscription_test.go +++ b/pkg/commands/tls/subscription/subscription_test.go @@ -5,7 +5,7 @@ import ( "fmt" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/tls/subscription" "github.com/fastly/cli/pkg/mock" diff --git a/pkg/commands/tls/subscription/update.go b/pkg/commands/tls/subscription/update.go index 9884076a1..4ec2e71fe 100644 --- a/pkg/commands/tls/subscription/update.go +++ b/pkg/commands/tls/subscription/update.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/tools/domain/status.go b/pkg/commands/tools/domain/status.go index 320262edb..f0be0fbef 100644 --- a/pkg/commands/tools/domain/status.go +++ b/pkg/commands/tools/domain/status.go @@ -6,8 +6,8 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/tools/status" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/tools/status" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/tools/domain/status_test.go b/pkg/commands/tools/domain/status_test.go index 98eb39078..aeb151178 100644 --- a/pkg/commands/tools/domain/status_test.go +++ b/pkg/commands/tools/domain/status_test.go @@ -6,7 +6,7 @@ import ( "net/http" "testing" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/tools/status" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/tools/status" "github.com/fastly/cli/pkg/commands/tools" "github.com/fastly/cli/pkg/commands/tools/domain" diff --git a/pkg/commands/tools/domain/suggest.go b/pkg/commands/tools/domain/suggest.go index c3c076703..90d121717 100644 --- a/pkg/commands/tools/domain/suggest.go +++ b/pkg/commands/tools/domain/suggest.go @@ -7,8 +7,8 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/tools/suggest" + "github.com/fastly/go-fastly/v18/fastly" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/tools/suggest" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/tools/domain/suggest_test.go b/pkg/commands/tools/domain/suggest_test.go index 3ab032dd9..fd3bc9440 100644 --- a/pkg/commands/tools/domain/suggest_test.go +++ b/pkg/commands/tools/domain/suggest_test.go @@ -6,7 +6,7 @@ import ( "net/http" "testing" - "github.com/fastly/go-fastly/v17/fastly/domainmanagement/v1/tools/suggest" + "github.com/fastly/go-fastly/v18/fastly/domainmanagement/v1/tools/suggest" "github.com/fastly/cli/pkg/commands/tools" "github.com/fastly/cli/pkg/commands/tools/domain" diff --git a/pkg/commands/user/create.go b/pkg/commands/user/create.go index bb12cdd7e..c36437890 100644 --- a/pkg/commands/user/create.go +++ b/pkg/commands/user/create.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/user/delete.go b/pkg/commands/user/delete.go index f8f3d218f..b5807ca74 100644 --- a/pkg/commands/user/delete.go +++ b/pkg/commands/user/delete.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/user/describe.go b/pkg/commands/user/describe.go index 093bf04c1..e7c2f6a9a 100644 --- a/pkg/commands/user/describe.go +++ b/pkg/commands/user/describe.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/user/list.go b/pkg/commands/user/list.go index 93a5b364f..600f6fe0b 100644 --- a/pkg/commands/user/list.go +++ b/pkg/commands/user/list.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/user/update.go b/pkg/commands/user/update.go index a837beddf..c813dcb87 100644 --- a/pkg/commands/user/update.go +++ b/pkg/commands/user/update.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/user/user_test.go b/pkg/commands/user/user_test.go index 51c0fab4f..efaf257a5 100644 --- a/pkg/commands/user/user_test.go +++ b/pkg/commands/user/user_test.go @@ -5,7 +5,7 @@ import ( "fmt" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" root "github.com/fastly/cli/pkg/commands/user" "github.com/fastly/cli/pkg/mock" diff --git a/pkg/errors/deduce.go b/pkg/errors/deduce.go index 98663cf0c..b6a26a4d4 100644 --- a/pkg/errors/deduce.go +++ b/pkg/errors/deduce.go @@ -7,7 +7,7 @@ import ( "os" "strings" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" ) // httpStatusError is satisfied by any error that carries an HTTP status code. diff --git a/pkg/errors/deduce_test.go b/pkg/errors/deduce_test.go index afa008bdc..587f89d54 100644 --- a/pkg/errors/deduce_test.go +++ b/pkg/errors/deduce_test.go @@ -9,7 +9,7 @@ import ( "github.com/fastly/cli/pkg/api/undocumented" "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" ) func TestDeduce(t *testing.T) { diff --git a/pkg/errors/log.go b/pkg/errors/log.go index 77b38a7aa..2d02af5d4 100644 --- a/pkg/errors/log.go +++ b/pkg/errors/log.go @@ -11,7 +11,7 @@ import ( "text/template" "time" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" ) // LogPath is the location of the fastly CLI error log. diff --git a/pkg/mock/api.go b/pkg/mock/api.go index 03fcdd0c0..3000ee3cb 100644 --- a/pkg/mock/api.go +++ b/pkg/mock/api.go @@ -4,7 +4,7 @@ import ( "context" "crypto/ed25519" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" ) // API is a mock implementation of api.Interface that's used for testing. diff --git a/pkg/mock/client.go b/pkg/mock/client.go index 03376a706..2b93ea60b 100644 --- a/pkg/mock/client.go +++ b/pkg/mock/client.go @@ -7,7 +7,7 @@ import ( "io" "net/http" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/api" ) diff --git a/pkg/mock/fastly_client.go b/pkg/mock/fastly_client.go index 9b79708b3..734137770 100644 --- a/pkg/mock/fastly_client.go +++ b/pkg/mock/fastly_client.go @@ -1,7 +1,7 @@ package mock import ( - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" ) func NewFastlyClient(httpClient *HTTPClient) (*fastly.Client, error) { diff --git a/pkg/testutil/api.go b/pkg/testutil/api.go index 02a774fa1..5d7aabd15 100644 --- a/pkg/testutil/api.go +++ b/pkg/testutil/api.go @@ -88,7 +88,7 @@ import ( "net/http" "net/http/httptest" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" authcmd "github.com/fastly/cli/pkg/commands/auth" "github.com/fastly/cli/pkg/commands/whoami" diff --git a/pkg/testutil/assert.go b/pkg/testutil/assert.go index 71d38ac71..28b649178 100644 --- a/pkg/testutil/assert.go +++ b/pkg/testutil/assert.go @@ -9,7 +9,7 @@ import ( "github.com/google/go-cmp/cmp" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/errors" diff --git a/pkg/testutil/paginator.go b/pkg/testutil/paginator.go index a497a82be..ad848907f 100644 --- a/pkg/testutil/paginator.go +++ b/pkg/testutil/paginator.go @@ -1,7 +1,7 @@ package testutil import ( - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" ) // ServicesPaginator mocks the behaviour of a paginator for services. diff --git a/pkg/testutil/scenarios.go b/pkg/testutil/scenarios.go index a5af06b37..ef468dd29 100644 --- a/pkg/testutil/scenarios.go +++ b/pkg/testutil/scenarios.go @@ -10,7 +10,7 @@ import ( "testing" "time" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/api" "github.com/fastly/cli/pkg/app" diff --git a/pkg/text/accesskey.go b/pkg/text/accesskey.go index 24c5ccc39..2a1689f01 100644 --- a/pkg/text/accesskey.go +++ b/pkg/text/accesskey.go @@ -5,7 +5,7 @@ import ( "io" "github.com/fastly/cli/pkg/time" - "github.com/fastly/go-fastly/v17/fastly/objectstorage/accesskeys" + "github.com/fastly/go-fastly/v18/fastly/objectstorage/accesskeys" ) // PrintAccessKey displays an access key. diff --git a/pkg/text/alerts.go b/pkg/text/alerts.go index 4742286e3..db7d13a5b 100644 --- a/pkg/text/alerts.go +++ b/pkg/text/alerts.go @@ -5,14 +5,14 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/datadog" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/jira" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/mailinglist" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/microsoftteams" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/opsgenie" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/pagerduty" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/slack" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/alerts/webhook" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/datadog" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/jira" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/mailinglist" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/microsoftteams" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/opsgenie" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/pagerduty" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/slack" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/alerts/webhook" ) // PrintAlert displays a single alert. diff --git a/pkg/text/backend.go b/pkg/text/backend.go index 9fc349766..1e12dfc3a 100644 --- a/pkg/text/backend.go +++ b/pkg/text/backend.go @@ -6,7 +6,7 @@ import ( "github.com/segmentio/textio" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" ) // PrintBackend pretty prints a fastly.Backend structure in verbose format diff --git a/pkg/text/computeacl.go b/pkg/text/computeacl.go index 1417eb9f4..01e62876c 100644 --- a/pkg/text/computeacl.go +++ b/pkg/text/computeacl.go @@ -6,7 +6,7 @@ import ( "github.com/segmentio/textio" - "github.com/fastly/go-fastly/v17/fastly/computeacls" + "github.com/fastly/go-fastly/v18/fastly/computeacls" ) // PrintComputeACL displays a compute ACL. diff --git a/pkg/text/configstore.go b/pkg/text/configstore.go index 275461dcb..81272c00d 100644 --- a/pkg/text/configstore.go +++ b/pkg/text/configstore.go @@ -8,7 +8,7 @@ import ( "github.com/segmentio/textio" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" fsttime "github.com/fastly/cli/pkg/time" ) diff --git a/pkg/text/customsignal.go b/pkg/text/customsignal.go index f7b483d5a..e6c4663fb 100644 --- a/pkg/text/customsignal.go +++ b/pkg/text/customsignal.go @@ -5,7 +5,7 @@ import ( "io" "github.com/fastly/cli/pkg/time" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/signals" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/signals" ) // PrintCustomSignal displays an NGWAF custom signal. diff --git a/pkg/text/dictionary.go b/pkg/text/dictionary.go index 20fb1332d..327b19613 100644 --- a/pkg/text/dictionary.go +++ b/pkg/text/dictionary.go @@ -6,7 +6,7 @@ import ( "github.com/segmentio/textio" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/time" ) diff --git a/pkg/text/dictionaryitem.go b/pkg/text/dictionaryitem.go index 5f91c197a..f913c4fac 100644 --- a/pkg/text/dictionaryitem.go +++ b/pkg/text/dictionaryitem.go @@ -6,7 +6,7 @@ import ( "github.com/segmentio/textio" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/time" ) diff --git a/pkg/text/dictionaryitem_test.go b/pkg/text/dictionaryitem_test.go index 9d9f5062e..175f19b92 100644 --- a/pkg/text/dictionaryitem_test.go +++ b/pkg/text/dictionaryitem_test.go @@ -6,7 +6,7 @@ import ( "github.com/fastly/cli/pkg/testutil" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" ) func TestPrintDictionaryItem(t *testing.T) { diff --git a/pkg/text/dnszone.go b/pkg/text/dnszone.go index bc0026ad2..f245a6775 100644 --- a/pkg/text/dnszone.go +++ b/pkg/text/dnszone.go @@ -7,7 +7,7 @@ import ( "github.com/segmentio/textio" - "github.com/fastly/go-fastly/v17/fastly/dns/v1/dnszones" + "github.com/fastly/go-fastly/v18/fastly/dns/v1/dnszones" ) // PrintDNSZone pretty prints a dnszones.Zone in verbose format to a given diff --git a/pkg/text/eventmapping.go b/pkg/text/eventmapping.go index 2990e50b9..6e1de5a23 100644 --- a/pkg/text/eventmapping.go +++ b/pkg/text/eventmapping.go @@ -6,9 +6,9 @@ import ( "strings" "github.com/fastly/cli/pkg/time" - "github.com/fastly/go-fastly/v17/fastly/notifications/v1/eventmappings" - "github.com/fastly/go-fastly/v17/fastly/notifications/v1/eventmappings/eventtypes" - "github.com/fastly/go-fastly/v17/fastly/notifications/v1/eventmappings/scopetypes" + "github.com/fastly/go-fastly/v18/fastly/notifications/v1/eventmappings" + "github.com/fastly/go-fastly/v18/fastly/notifications/v1/eventmappings/eventtypes" + "github.com/fastly/go-fastly/v18/fastly/notifications/v1/eventmappings/scopetypes" ) // PrintEventMapping displays an audit log event mapping. diff --git a/pkg/text/healthcheck.go b/pkg/text/healthcheck.go index 3f600d48d..097cde8f7 100644 --- a/pkg/text/healthcheck.go +++ b/pkg/text/healthcheck.go @@ -6,7 +6,7 @@ import ( "github.com/segmentio/textio" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" ) // PrintHealthCheck pretty prints a fastly.HealthCheck structure in verbose diff --git a/pkg/text/integration.go b/pkg/text/integration.go index 9b83b8d80..4738707d9 100644 --- a/pkg/text/integration.go +++ b/pkg/text/integration.go @@ -7,7 +7,7 @@ import ( "strings" "time" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" fsttime "github.com/fastly/cli/pkg/time" ) diff --git a/pkg/text/kvstore.go b/pkg/text/kvstore.go index fe007f58f..910b13f4a 100644 --- a/pkg/text/kvstore.go +++ b/pkg/text/kvstore.go @@ -6,7 +6,7 @@ import ( "github.com/segmentio/textio" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/time" ) diff --git a/pkg/text/list.go b/pkg/text/list.go index 67bf6f174..08433b28d 100644 --- a/pkg/text/list.go +++ b/pkg/text/list.go @@ -6,7 +6,7 @@ import ( "strings" "github.com/fastly/cli/pkg/time" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/lists" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/lists" ) // PrintList displays an NGWAF list. diff --git a/pkg/text/provider.go b/pkg/text/provider.go index f9d7f7bb4..4ce825ee3 100644 --- a/pkg/text/provider.go +++ b/pkg/text/provider.go @@ -4,7 +4,7 @@ import ( "io" "strconv" - "github.com/fastly/go-fastly/v17/fastly/airuntimecontrol/v1/provider" + "github.com/fastly/go-fastly/v18/fastly/airuntimecontrol/v1/provider" ) // PrintProvidersTbl displays AI Runtime Control providers in a table format. Model lists can diff --git a/pkg/text/providerconnection.go b/pkg/text/providerconnection.go index 9657c6ac0..55ad48678 100644 --- a/pkg/text/providerconnection.go +++ b/pkg/text/providerconnection.go @@ -5,7 +5,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v17/fastly/airuntimecontrol/v1/providerconnection" + "github.com/fastly/go-fastly/v18/fastly/airuntimecontrol/v1/providerconnection" ) // PrintProviderConnection displays a provider connection. diff --git a/pkg/text/redaction.go b/pkg/text/redaction.go index 1b30343cd..40ba11294 100644 --- a/pkg/text/redaction.go +++ b/pkg/text/redaction.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/redactions" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/redactions" ) // PrintRedaction displays a single redaction. diff --git a/pkg/text/resource.go b/pkg/text/resource.go index 9a767e2a1..bf050e612 100644 --- a/pkg/text/resource.go +++ b/pkg/text/resource.go @@ -6,7 +6,7 @@ import ( "github.com/segmentio/textio" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/time" ) diff --git a/pkg/text/rule.go b/pkg/text/rule.go index f7b0cd266..e529e1fd1 100644 --- a/pkg/text/rule.go +++ b/pkg/text/rule.go @@ -5,7 +5,7 @@ import ( "io" "github.com/fastly/cli/pkg/time" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/rules" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/rules" ) // PrintRule displays an NGWAF rule. diff --git a/pkg/text/secretstore.go b/pkg/text/secretstore.go index 686f0da43..485aea808 100644 --- a/pkg/text/secretstore.go +++ b/pkg/text/secretstore.go @@ -7,7 +7,7 @@ import ( "github.com/segmentio/textio" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" ) // PrintSecretStoresTbl displays store data in a table format. diff --git a/pkg/text/service.go b/pkg/text/service.go index 9df29673b..960d7f953 100644 --- a/pkg/text/service.go +++ b/pkg/text/service.go @@ -7,7 +7,7 @@ import ( "github.com/segmentio/textio" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/time" ) diff --git a/pkg/text/service_test.go b/pkg/text/service_test.go index 6a97c9623..925b98970 100644 --- a/pkg/text/service_test.go +++ b/pkg/text/service_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" "github.com/fastly/cli/pkg/testutil" "github.com/fastly/cli/pkg/text" diff --git a/pkg/text/session.go b/pkg/text/session.go index c66b1b2aa..511c38e69 100644 --- a/pkg/text/session.go +++ b/pkg/text/session.go @@ -4,7 +4,7 @@ import ( "io" "strconv" - "github.com/fastly/go-fastly/v17/fastly/airuntimecontrol/v1/session" + "github.com/fastly/go-fastly/v18/fastly/airuntimecontrol/v1/session" ) // PrintSessionsTbl displays AI Runtime Control session logs in a table format. diff --git a/pkg/text/stats.go b/pkg/text/stats.go index b1cf55514..05ccae3e7 100644 --- a/pkg/text/stats.go +++ b/pkg/text/stats.go @@ -8,7 +8,7 @@ import ( "strings" "time" - "github.com/fastly/go-fastly/v17/fastly" + "github.com/fastly/go-fastly/v18/fastly" ) func PrintUsageTbl(out io.Writer, data *fastly.RegionsUsage) { diff --git a/pkg/text/tag.go b/pkg/text/tag.go index b2ae4fb29..c88e6a9c1 100644 --- a/pkg/text/tag.go +++ b/pkg/text/tag.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly/apisecurity/operations" + "github.com/fastly/go-fastly/v18/fastly/apisecurity/operations" ) // PrintOperationTag displays an operation tag. diff --git a/pkg/text/threshold.go b/pkg/text/threshold.go index a9c53b767..09009a331 100644 --- a/pkg/text/threshold.go +++ b/pkg/text/threshold.go @@ -5,7 +5,7 @@ import ( "io" "time" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/thresholds" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/thresholds" ) // PrintThreshold displays a single threshold. diff --git a/pkg/text/timeseries.go b/pkg/text/timeseries.go index 01f9524e5..e0e37f9cb 100644 --- a/pkg/text/timeseries.go +++ b/pkg/text/timeseries.go @@ -5,8 +5,8 @@ import ( "io" "sort" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/timeseries" - wsts "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/timeseries" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/timeseries" + wsts "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/timeseries" ) // PrintTimeseries displays timeseries data points in a table. diff --git a/pkg/text/tsigkey.go b/pkg/text/tsigkey.go index 29209c7b9..6f61f01c1 100644 --- a/pkg/text/tsigkey.go +++ b/pkg/text/tsigkey.go @@ -6,7 +6,7 @@ import ( "github.com/segmentio/textio" - "github.com/fastly/go-fastly/v17/fastly/dns/v1/tsigkeys" + "github.com/fastly/go-fastly/v18/fastly/dns/v1/tsigkeys" ) // PrintTSIGKey pretty prints a tsigkeys.TSIGKey in verbose format to a given diff --git a/pkg/text/usagemetric.go b/pkg/text/usagemetric.go index b7bc958e4..ab3f5ac06 100644 --- a/pkg/text/usagemetric.go +++ b/pkg/text/usagemetric.go @@ -4,7 +4,7 @@ import ( "io" "strconv" - "github.com/fastly/go-fastly/v17/fastly/airuntimecontrol/v1/usagemetrics" + "github.com/fastly/go-fastly/v18/fastly/airuntimecontrol/v1/usagemetrics" ) // PrintUsageMetricsTbl displays AI Runtime Control usage metrics in a table format. diff --git a/pkg/text/virtualkey.go b/pkg/text/virtualkey.go index f88041ecf..4e481d3f5 100644 --- a/pkg/text/virtualkey.go +++ b/pkg/text/virtualkey.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly/airuntimecontrol/v1/key" + "github.com/fastly/go-fastly/v18/fastly/airuntimecontrol/v1/key" ) // PrintVirtualKeyWithToken displays a virtual key including its access token. diff --git a/pkg/text/virtualpatch.go b/pkg/text/virtualpatch.go index 7185c796d..084c1c5f5 100644 --- a/pkg/text/virtualpatch.go +++ b/pkg/text/virtualpatch.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces/virtualpatches" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces/virtualpatches" ) // PrintVirtualPatch displays a single virtual patch. diff --git a/pkg/text/workspace.go b/pkg/text/workspace.go index fa7591803..b672b14f1 100644 --- a/pkg/text/workspace.go +++ b/pkg/text/workspace.go @@ -6,7 +6,7 @@ import ( "strings" "github.com/fastly/cli/pkg/time" - "github.com/fastly/go-fastly/v17/fastly/ngwaf/v1/workspaces" + "github.com/fastly/go-fastly/v18/fastly/ngwaf/v1/workspaces" ) // PrintWorkspace displays a workspace.