From d3ed8a20469289e087fb31f3f37661b2f5f3e8b2 Mon Sep 17 00:00:00 2001 From: Anthony Gomez Date: Thu, 3 Apr 2025 09:14:57 -0400 Subject: [PATCH 1/5] feat(go.mod): upgrade go-fastly from v9 to v10 --- .tmpl/test.go | 2 +- go.mod | 2 +- go.sum | 4 ++-- pkg/api/interface.go | 2 +- pkg/app/run.go | 2 +- pkg/argparser/cmd.go | 2 +- pkg/argparser/flags.go | 2 +- pkg/argparser/flags_test.go | 2 +- pkg/commands/acl/acl_test.go | 2 +- pkg/commands/acl/create.go | 2 +- pkg/commands/acl/delete.go | 2 +- pkg/commands/acl/describe.go | 2 +- pkg/commands/acl/list.go | 2 +- pkg/commands/acl/update.go | 2 +- pkg/commands/aclentry/aclentry_test.go | 2 +- pkg/commands/aclentry/create.go | 2 +- pkg/commands/aclentry/delete.go | 2 +- pkg/commands/aclentry/describe.go | 2 +- pkg/commands/aclentry/list.go | 2 +- pkg/commands/aclentry/update.go | 2 +- pkg/commands/alerts/alerts_test.go | 2 +- pkg/commands/alerts/common.go | 2 +- pkg/commands/alerts/create.go | 2 +- pkg/commands/alerts/delete.go | 2 +- pkg/commands/alerts/describe.go | 2 +- pkg/commands/alerts/list.go | 2 +- pkg/commands/alerts/list_history.go | 2 +- pkg/commands/alerts/update.go | 2 +- pkg/commands/authtoken/authtoken_test.go | 2 +- pkg/commands/authtoken/create.go | 2 +- pkg/commands/authtoken/delete.go | 2 +- pkg/commands/authtoken/describe.go | 2 +- pkg/commands/authtoken/list.go | 2 +- pkg/commands/backend/backend_test.go | 2 +- pkg/commands/backend/create.go | 2 +- pkg/commands/backend/delete.go | 2 +- pkg/commands/backend/describe.go | 2 +- pkg/commands/backend/list.go | 2 +- pkg/commands/backend/update.go | 2 +- pkg/commands/compute/compute_mocks_test.go | 2 +- pkg/commands/compute/computeacl/computeacl_test.go | 2 +- pkg/commands/compute/computeacl/create.go | 4 ++-- pkg/commands/compute/computeacl/delete.go | 4 ++-- pkg/commands/compute/computeacl/describe.go | 4 ++-- pkg/commands/compute/computeacl/listacls.go | 4 ++-- pkg/commands/compute/computeacl/listentries.go | 4 ++-- pkg/commands/compute/computeacl/lookup.go | 4 ++-- pkg/commands/compute/computeacl/update.go | 4 ++-- pkg/commands/compute/deploy.go | 2 +- pkg/commands/compute/deploy_test.go | 2 +- pkg/commands/compute/init.go | 2 +- pkg/commands/compute/init_test.go | 2 +- pkg/commands/compute/setup/backend.go | 2 +- pkg/commands/compute/setup/config_store.go | 2 +- pkg/commands/compute/setup/domain.go | 2 +- pkg/commands/compute/setup/kv_store.go | 2 +- pkg/commands/compute/setup/secret_store.go | 2 +- pkg/commands/compute/update.go | 2 +- pkg/commands/configstore/configstore_test.go | 2 +- pkg/commands/configstore/create.go | 2 +- pkg/commands/configstore/delete.go | 2 +- pkg/commands/configstore/describe.go | 2 +- pkg/commands/configstore/helper_test.go | 2 +- pkg/commands/configstore/list.go | 2 +- pkg/commands/configstore/list_services.go | 2 +- pkg/commands/configstore/update.go | 2 +- pkg/commands/configstoreentry/configstoreentry_test.go | 2 +- pkg/commands/configstoreentry/create.go | 2 +- pkg/commands/configstoreentry/delete.go | 2 +- pkg/commands/configstoreentry/describe.go | 2 +- pkg/commands/configstoreentry/list.go | 2 +- pkg/commands/configstoreentry/update.go | 2 +- pkg/commands/dashboard/common/print.go | 2 +- pkg/commands/dashboard/create.go | 2 +- pkg/commands/dashboard/dashboard_test.go | 2 +- pkg/commands/dashboard/delete.go | 2 +- pkg/commands/dashboard/describe.go | 2 +- pkg/commands/dashboard/item/create.go | 2 +- pkg/commands/dashboard/item/delete.go | 2 +- pkg/commands/dashboard/item/describe.go | 2 +- pkg/commands/dashboard/item/item_test.go | 2 +- pkg/commands/dashboard/item/update.go | 2 +- pkg/commands/dashboard/list.go | 2 +- pkg/commands/dashboard/update.go | 2 +- pkg/commands/dictionary/create.go | 2 +- pkg/commands/dictionary/delete.go | 2 +- pkg/commands/dictionary/describe.go | 2 +- pkg/commands/dictionary/dictionary_test.go | 2 +- pkg/commands/dictionary/list.go | 2 +- pkg/commands/dictionary/update.go | 2 +- pkg/commands/dictionaryentry/create.go | 2 +- pkg/commands/dictionaryentry/delete.go | 2 +- pkg/commands/dictionaryentry/describe.go | 2 +- pkg/commands/dictionaryentry/dictionaryitem_test.go | 2 +- pkg/commands/dictionaryentry/list.go | 2 +- pkg/commands/dictionaryentry/update.go | 2 +- pkg/commands/domain/create.go | 2 +- pkg/commands/domain/delete.go | 2 +- pkg/commands/domain/describe.go | 2 +- pkg/commands/domain/domain_test.go | 2 +- pkg/commands/domain/list.go | 2 +- pkg/commands/domain/update.go | 2 +- pkg/commands/domain/validate.go | 2 +- pkg/commands/domainv1/common.go | 2 +- pkg/commands/domainv1/create.go | 4 ++-- pkg/commands/domainv1/delete.go | 4 ++-- pkg/commands/domainv1/describe.go | 4 ++-- pkg/commands/domainv1/domain_test.go | 2 +- pkg/commands/domainv1/list.go | 4 ++-- pkg/commands/domainv1/update.go | 4 ++-- pkg/commands/healthcheck/create.go | 2 +- pkg/commands/healthcheck/delete.go | 2 +- pkg/commands/healthcheck/describe.go | 2 +- pkg/commands/healthcheck/healthcheck_test.go | 2 +- pkg/commands/healthcheck/list.go | 2 +- pkg/commands/healthcheck/update.go | 2 +- pkg/commands/ip/ip_test.go | 2 +- pkg/commands/kvstore/create.go | 2 +- pkg/commands/kvstore/delete.go | 2 +- pkg/commands/kvstore/describe.go | 2 +- pkg/commands/kvstore/kvstore_test.go | 2 +- pkg/commands/kvstore/list.go | 2 +- pkg/commands/kvstoreentry/create.go | 2 +- pkg/commands/kvstoreentry/delete.go | 2 +- pkg/commands/kvstoreentry/describe.go | 2 +- pkg/commands/kvstoreentry/kvstoreentry_test.go | 2 +- pkg/commands/kvstoreentry/list.go | 2 +- pkg/commands/logging/azureblob/azureblob_integration_test.go | 2 +- pkg/commands/logging/azureblob/azureblob_test.go | 2 +- pkg/commands/logging/azureblob/create.go | 2 +- pkg/commands/logging/azureblob/delete.go | 2 +- pkg/commands/logging/azureblob/describe.go | 2 +- pkg/commands/logging/azureblob/list.go | 2 +- pkg/commands/logging/azureblob/update.go | 2 +- pkg/commands/logging/bigquery/bigquery_integration_test.go | 2 +- pkg/commands/logging/bigquery/bigquery_test.go | 2 +- pkg/commands/logging/bigquery/create.go | 2 +- pkg/commands/logging/bigquery/delete.go | 2 +- pkg/commands/logging/bigquery/describe.go | 2 +- pkg/commands/logging/bigquery/list.go | 2 +- pkg/commands/logging/bigquery/update.go | 2 +- .../logging/cloudfiles/cloudfiles_integration_test.go | 2 +- pkg/commands/logging/cloudfiles/cloudfiles_test.go | 2 +- pkg/commands/logging/cloudfiles/create.go | 2 +- pkg/commands/logging/cloudfiles/delete.go | 2 +- pkg/commands/logging/cloudfiles/describe.go | 2 +- pkg/commands/logging/cloudfiles/list.go | 2 +- pkg/commands/logging/cloudfiles/update.go | 2 +- pkg/commands/logging/datadog/create.go | 2 +- pkg/commands/logging/datadog/datadog_integration_test.go | 2 +- pkg/commands/logging/datadog/datadog_test.go | 2 +- pkg/commands/logging/datadog/delete.go | 2 +- pkg/commands/logging/datadog/describe.go | 2 +- pkg/commands/logging/datadog/list.go | 2 +- pkg/commands/logging/datadog/update.go | 2 +- pkg/commands/logging/digitalocean/create.go | 2 +- pkg/commands/logging/digitalocean/delete.go | 2 +- pkg/commands/logging/digitalocean/describe.go | 2 +- .../logging/digitalocean/digitalocean_integration_test.go | 2 +- pkg/commands/logging/digitalocean/digitalocean_test.go | 2 +- pkg/commands/logging/digitalocean/list.go | 2 +- pkg/commands/logging/digitalocean/update.go | 2 +- pkg/commands/logging/elasticsearch/create.go | 2 +- pkg/commands/logging/elasticsearch/delete.go | 2 +- pkg/commands/logging/elasticsearch/describe.go | 2 +- .../logging/elasticsearch/elasticsearch_integration_test.go | 2 +- pkg/commands/logging/elasticsearch/elasticsearch_test.go | 2 +- pkg/commands/logging/elasticsearch/list.go | 2 +- pkg/commands/logging/elasticsearch/update.go | 2 +- pkg/commands/logging/ftp/create.go | 2 +- pkg/commands/logging/ftp/delete.go | 2 +- pkg/commands/logging/ftp/describe.go | 2 +- pkg/commands/logging/ftp/ftp_integration_test.go | 2 +- pkg/commands/logging/ftp/ftp_test.go | 2 +- pkg/commands/logging/ftp/list.go | 2 +- pkg/commands/logging/ftp/update.go | 2 +- pkg/commands/logging/gcs/create.go | 2 +- pkg/commands/logging/gcs/delete.go | 2 +- pkg/commands/logging/gcs/describe.go | 2 +- pkg/commands/logging/gcs/gcs_integration_test.go | 2 +- pkg/commands/logging/gcs/gcs_test.go | 2 +- pkg/commands/logging/gcs/list.go | 2 +- pkg/commands/logging/gcs/update.go | 2 +- pkg/commands/logging/googlepubsub/create.go | 2 +- pkg/commands/logging/googlepubsub/delete.go | 2 +- pkg/commands/logging/googlepubsub/describe.go | 2 +- .../logging/googlepubsub/googlepubsub_integration_test.go | 2 +- pkg/commands/logging/googlepubsub/googlepubsub_test.go | 2 +- pkg/commands/logging/googlepubsub/list.go | 2 +- pkg/commands/logging/googlepubsub/update.go | 2 +- pkg/commands/logging/grafanacloudlogs/create.go | 2 +- pkg/commands/logging/grafanacloudlogs/delete.go | 2 +- pkg/commands/logging/grafanacloudlogs/describe.go | 2 +- .../grafanacloudlogs/grafanacloud_logs_integration_test.go | 2 +- .../logging/grafanacloudlogs/grafanacloudlogs_test.go | 2 +- pkg/commands/logging/grafanacloudlogs/list.go | 2 +- pkg/commands/logging/grafanacloudlogs/update.go | 2 +- pkg/commands/logging/heroku/create.go | 2 +- pkg/commands/logging/heroku/delete.go | 2 +- pkg/commands/logging/heroku/describe.go | 2 +- pkg/commands/logging/heroku/heroku_integration_test.go | 2 +- pkg/commands/logging/heroku/heroku_test.go | 2 +- pkg/commands/logging/heroku/list.go | 2 +- pkg/commands/logging/heroku/update.go | 2 +- pkg/commands/logging/honeycomb/create.go | 2 +- pkg/commands/logging/honeycomb/delete.go | 2 +- pkg/commands/logging/honeycomb/describe.go | 2 +- pkg/commands/logging/honeycomb/honeycomb_integration_test.go | 2 +- pkg/commands/logging/honeycomb/honeycomb_test.go | 2 +- pkg/commands/logging/honeycomb/list.go | 2 +- pkg/commands/logging/honeycomb/update.go | 2 +- pkg/commands/logging/https/create.go | 2 +- pkg/commands/logging/https/delete.go | 2 +- pkg/commands/logging/https/describe.go | 2 +- pkg/commands/logging/https/https_integration_test.go | 2 +- pkg/commands/logging/https/https_test.go | 2 +- pkg/commands/logging/https/list.go | 2 +- pkg/commands/logging/https/update.go | 2 +- pkg/commands/logging/kafka/create.go | 2 +- pkg/commands/logging/kafka/delete.go | 2 +- pkg/commands/logging/kafka/describe.go | 2 +- pkg/commands/logging/kafka/kafka_integration_test.go | 2 +- pkg/commands/logging/kafka/kafka_test.go | 2 +- pkg/commands/logging/kafka/list.go | 2 +- pkg/commands/logging/kafka/update.go | 2 +- pkg/commands/logging/kinesis/create.go | 2 +- pkg/commands/logging/kinesis/delete.go | 2 +- pkg/commands/logging/kinesis/describe.go | 2 +- pkg/commands/logging/kinesis/kinesis_integration_test.go | 2 +- pkg/commands/logging/kinesis/kinesis_test.go | 2 +- pkg/commands/logging/kinesis/list.go | 2 +- pkg/commands/logging/kinesis/update.go | 2 +- pkg/commands/logging/loggly/create.go | 2 +- pkg/commands/logging/loggly/delete.go | 2 +- pkg/commands/logging/loggly/describe.go | 2 +- pkg/commands/logging/loggly/list.go | 2 +- pkg/commands/logging/loggly/loggly_integration_test.go | 2 +- pkg/commands/logging/loggly/loggly_test.go | 2 +- pkg/commands/logging/loggly/update.go | 2 +- pkg/commands/logging/logshuttle/create.go | 2 +- pkg/commands/logging/logshuttle/delete.go | 2 +- pkg/commands/logging/logshuttle/describe.go | 2 +- pkg/commands/logging/logshuttle/list.go | 2 +- .../logging/logshuttle/logshuttle_integration_test.go | 2 +- pkg/commands/logging/logshuttle/logshuttle_test.go | 2 +- pkg/commands/logging/logshuttle/update.go | 2 +- pkg/commands/logging/newrelic/create.go | 2 +- pkg/commands/logging/newrelic/delete.go | 2 +- pkg/commands/logging/newrelic/describe.go | 2 +- pkg/commands/logging/newrelic/list.go | 2 +- pkg/commands/logging/newrelic/newrelic_test.go | 2 +- pkg/commands/logging/newrelic/update.go | 2 +- pkg/commands/logging/newrelicotlp/create.go | 2 +- pkg/commands/logging/newrelicotlp/delete.go | 2 +- pkg/commands/logging/newrelicotlp/describe.go | 2 +- pkg/commands/logging/newrelicotlp/list.go | 2 +- pkg/commands/logging/newrelicotlp/newrelicotlp_test.go | 2 +- pkg/commands/logging/newrelicotlp/update.go | 2 +- pkg/commands/logging/openstack/create.go | 2 +- pkg/commands/logging/openstack/delete.go | 2 +- pkg/commands/logging/openstack/describe.go | 2 +- pkg/commands/logging/openstack/list.go | 2 +- pkg/commands/logging/openstack/openstack_integration_test.go | 2 +- pkg/commands/logging/openstack/openstack_test.go | 2 +- pkg/commands/logging/openstack/update.go | 2 +- pkg/commands/logging/papertrail/create.go | 2 +- pkg/commands/logging/papertrail/delete.go | 2 +- pkg/commands/logging/papertrail/describe.go | 2 +- pkg/commands/logging/papertrail/list.go | 2 +- .../logging/papertrail/papertrail_integration_test.go | 2 +- pkg/commands/logging/papertrail/papertrail_test.go | 2 +- pkg/commands/logging/papertrail/update.go | 2 +- pkg/commands/logging/s3/create.go | 2 +- pkg/commands/logging/s3/delete.go | 2 +- pkg/commands/logging/s3/describe.go | 2 +- pkg/commands/logging/s3/list.go | 2 +- pkg/commands/logging/s3/s3_integration_test.go | 2 +- pkg/commands/logging/s3/s3_test.go | 2 +- pkg/commands/logging/s3/update.go | 2 +- pkg/commands/logging/scalyr/create.go | 2 +- pkg/commands/logging/scalyr/delete.go | 2 +- pkg/commands/logging/scalyr/describe.go | 2 +- pkg/commands/logging/scalyr/list.go | 2 +- pkg/commands/logging/scalyr/scalyr_integration_test.go | 2 +- pkg/commands/logging/scalyr/scalyr_test.go | 2 +- pkg/commands/logging/scalyr/update.go | 2 +- pkg/commands/logging/sftp/create.go | 2 +- pkg/commands/logging/sftp/delete.go | 2 +- pkg/commands/logging/sftp/describe.go | 2 +- pkg/commands/logging/sftp/list.go | 2 +- pkg/commands/logging/sftp/sftp_integration_test.go | 2 +- pkg/commands/logging/sftp/sftp_test.go | 2 +- pkg/commands/logging/sftp/update.go | 2 +- pkg/commands/logging/splunk/create.go | 2 +- pkg/commands/logging/splunk/delete.go | 2 +- pkg/commands/logging/splunk/describe.go | 2 +- pkg/commands/logging/splunk/list.go | 2 +- pkg/commands/logging/splunk/splunk_integration_test.go | 2 +- pkg/commands/logging/splunk/splunk_test.go | 2 +- pkg/commands/logging/splunk/update.go | 2 +- pkg/commands/logging/sumologic/create.go | 2 +- pkg/commands/logging/sumologic/delete.go | 2 +- pkg/commands/logging/sumologic/describe.go | 2 +- pkg/commands/logging/sumologic/list.go | 2 +- pkg/commands/logging/sumologic/sumologic_integration_test.go | 2 +- pkg/commands/logging/sumologic/sumologic_test.go | 2 +- pkg/commands/logging/sumologic/update.go | 2 +- pkg/commands/logging/syslog/create.go | 2 +- pkg/commands/logging/syslog/delete.go | 2 +- pkg/commands/logging/syslog/describe.go | 2 +- pkg/commands/logging/syslog/list.go | 2 +- pkg/commands/logging/syslog/syslog_integration_test.go | 2 +- pkg/commands/logging/syslog/syslog_test.go | 2 +- pkg/commands/logging/syslog/update.go | 2 +- pkg/commands/logtail/root.go | 2 +- pkg/commands/objectstorage/accesskeys/accesskeys_test.go | 2 +- pkg/commands/objectstorage/accesskeys/create.go | 4 ++-- pkg/commands/objectstorage/accesskeys/delete.go | 4 ++-- pkg/commands/objectstorage/accesskeys/get.go | 4 ++-- pkg/commands/objectstorage/accesskeys/list.go | 4 ++-- pkg/commands/pop/pop_test.go | 2 +- pkg/commands/pop/root.go | 2 +- pkg/commands/products/products_test.go | 2 +- pkg/commands/products/root.go | 2 +- pkg/commands/profile/create.go | 2 +- pkg/commands/profile/profile_test.go | 2 +- pkg/commands/profile/update.go | 2 +- pkg/commands/purge/purge_test.go | 2 +- pkg/commands/purge/root.go | 2 +- pkg/commands/ratelimit/create.go | 2 +- pkg/commands/ratelimit/delete.go | 2 +- pkg/commands/ratelimit/describe.go | 2 +- pkg/commands/ratelimit/list.go | 2 +- pkg/commands/ratelimit/ratelimit_test.go | 2 +- pkg/commands/ratelimit/update.go | 2 +- pkg/commands/resourcelink/create.go | 2 +- pkg/commands/resourcelink/delete.go | 2 +- pkg/commands/resourcelink/describe.go | 2 +- pkg/commands/resourcelink/list.go | 2 +- pkg/commands/resourcelink/resourcelink_test.go | 2 +- pkg/commands/resourcelink/update.go | 2 +- pkg/commands/secretstore/create.go | 2 +- pkg/commands/secretstore/delete.go | 2 +- pkg/commands/secretstore/describe.go | 2 +- pkg/commands/secretstore/helper_test.go | 2 +- pkg/commands/secretstore/list.go | 2 +- pkg/commands/secretstore/secretstore_test.go | 2 +- pkg/commands/secretstoreentry/create.go | 2 +- pkg/commands/secretstoreentry/delete.go | 2 +- pkg/commands/secretstoreentry/describe.go | 2 +- pkg/commands/secretstoreentry/helper_test.go | 2 +- pkg/commands/secretstoreentry/list.go | 2 +- pkg/commands/secretstoreentry/secretstoreentry_test.go | 2 +- pkg/commands/service/create.go | 2 +- pkg/commands/service/delete.go | 2 +- pkg/commands/service/describe.go | 2 +- pkg/commands/service/list.go | 2 +- pkg/commands/service/search.go | 2 +- pkg/commands/service/service_test.go | 2 +- pkg/commands/service/update.go | 2 +- pkg/commands/serviceauth/create.go | 2 +- pkg/commands/serviceauth/delete.go | 2 +- pkg/commands/serviceauth/describe.go | 2 +- pkg/commands/serviceauth/list.go | 2 +- pkg/commands/serviceauth/service_test.go | 2 +- pkg/commands/serviceauth/update.go | 2 +- pkg/commands/serviceversion/activate.go | 2 +- pkg/commands/serviceversion/clone.go | 2 +- pkg/commands/serviceversion/deactivate.go | 2 +- pkg/commands/serviceversion/list.go | 2 +- pkg/commands/serviceversion/lock.go | 2 +- pkg/commands/serviceversion/serviceversion_test.go | 2 +- pkg/commands/serviceversion/stage.go | 2 +- pkg/commands/serviceversion/unstage.go | 2 +- pkg/commands/serviceversion/update.go | 2 +- pkg/commands/sso/sso_test.go | 2 +- pkg/commands/stats/historical.go | 2 +- pkg/commands/stats/historical_test.go | 2 +- pkg/commands/stats/realtime.go | 2 +- pkg/commands/stats/regions_test.go | 2 +- pkg/commands/stats/template.go | 2 +- pkg/commands/tls/config/config_test.go | 2 +- pkg/commands/tls/config/describe.go | 2 +- pkg/commands/tls/config/list.go | 2 +- pkg/commands/tls/config/update.go | 2 +- pkg/commands/tls/custom/activation/activation_test.go | 2 +- pkg/commands/tls/custom/activation/create.go | 2 +- pkg/commands/tls/custom/activation/delete.go | 2 +- pkg/commands/tls/custom/activation/describe.go | 2 +- pkg/commands/tls/custom/activation/list.go | 2 +- pkg/commands/tls/custom/activation/update.go | 2 +- pkg/commands/tls/custom/certificate/certificate_test.go | 2 +- pkg/commands/tls/custom/certificate/create.go | 2 +- pkg/commands/tls/custom/certificate/delete.go | 2 +- pkg/commands/tls/custom/certificate/describe.go | 2 +- pkg/commands/tls/custom/certificate/list.go | 2 +- pkg/commands/tls/custom/certificate/update.go | 2 +- pkg/commands/tls/custom/domain/domain_test.go | 2 +- pkg/commands/tls/custom/domain/list.go | 2 +- pkg/commands/tls/custom/privatekey/create.go | 2 +- pkg/commands/tls/custom/privatekey/delete.go | 2 +- pkg/commands/tls/custom/privatekey/describe.go | 2 +- pkg/commands/tls/custom/privatekey/list.go | 2 +- pkg/commands/tls/custom/privatekey/privatekey_test.go | 2 +- pkg/commands/tls/platform/create.go | 2 +- pkg/commands/tls/platform/delete.go | 2 +- pkg/commands/tls/platform/describe.go | 2 +- pkg/commands/tls/platform/list.go | 2 +- pkg/commands/tls/platform/platform_test.go | 2 +- pkg/commands/tls/platform/update.go | 2 +- pkg/commands/tls/subscription/create.go | 2 +- pkg/commands/tls/subscription/delete.go | 2 +- pkg/commands/tls/subscription/describe.go | 2 +- pkg/commands/tls/subscription/list.go | 2 +- pkg/commands/tls/subscription/subscription_test.go | 2 +- pkg/commands/tls/subscription/update.go | 2 +- pkg/commands/user/create.go | 2 +- pkg/commands/user/delete.go | 2 +- pkg/commands/user/describe.go | 2 +- pkg/commands/user/list.go | 2 +- pkg/commands/user/update.go | 2 +- pkg/commands/user/user_test.go | 2 +- pkg/commands/vcl/condition/condition_test.go | 2 +- pkg/commands/vcl/condition/create.go | 2 +- pkg/commands/vcl/condition/delete.go | 2 +- pkg/commands/vcl/condition/describe.go | 2 +- pkg/commands/vcl/condition/list.go | 2 +- pkg/commands/vcl/condition/update.go | 2 +- pkg/commands/vcl/custom/create.go | 2 +- pkg/commands/vcl/custom/custom_test.go | 2 +- pkg/commands/vcl/custom/delete.go | 2 +- pkg/commands/vcl/custom/describe.go | 2 +- pkg/commands/vcl/custom/list.go | 2 +- pkg/commands/vcl/custom/update.go | 2 +- pkg/commands/vcl/snippet/create.go | 2 +- pkg/commands/vcl/snippet/delete.go | 2 +- pkg/commands/vcl/snippet/describe.go | 2 +- pkg/commands/vcl/snippet/list.go | 2 +- pkg/commands/vcl/snippet/snippet_test.go | 2 +- pkg/commands/vcl/snippet/update.go | 2 +- pkg/commands/version/root.go | 2 +- pkg/errors/deduce.go | 2 +- pkg/errors/deduce_test.go | 2 +- pkg/errors/log.go | 2 +- pkg/mock/api.go | 2 +- pkg/mock/client.go | 2 +- pkg/testutil/api.go | 2 +- pkg/testutil/paginator.go | 2 +- pkg/testutil/scenarios.go | 2 +- pkg/text/accesskey.go | 2 +- pkg/text/backend.go | 2 +- pkg/text/computeacl.go | 2 +- pkg/text/configstore.go | 2 +- pkg/text/dictionary.go | 2 +- pkg/text/dictionaryitem.go | 2 +- pkg/text/dictionaryitem_test.go | 2 +- pkg/text/healthcheck.go | 2 +- pkg/text/kvstore.go | 2 +- pkg/text/resource.go | 2 +- pkg/text/secretstore.go | 2 +- pkg/text/service.go | 2 +- pkg/text/service_test.go | 2 +- 462 files changed, 479 insertions(+), 479 deletions(-) diff --git a/.tmpl/test.go b/.tmpl/test.go index 3dd2b2d1c..9227c2929 100644 --- a/.tmpl/test.go +++ b/.tmpl/test.go @@ -3,7 +3,7 @@ package ${CLI_PACKAGE}_test import ( "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/mock" "github.com/fastly/cli/pkg/testutil" diff --git a/go.mod b/go.mod index 382ad9e9a..04a082b45 100644 --- a/go.mod +++ b/go.mod @@ -27,7 +27,7 @@ require ( ) require ( - github.com/fastly/go-fastly/v9 v9.14.0 + github.com/fastly/go-fastly/v10 v10.0.0 github.com/hashicorp/cap v0.9.0 github.com/kennygrant/sanitize v1.2.4 github.com/otiai10/copy v1.14.1 diff --git a/go.sum b/go.sum index aabbd8498..a25cc4e3f 100644 --- a/go.sum +++ b/go.sum @@ -24,8 +24,8 @@ github.com/dsnet/compress v0.0.2-0.20210315054119-f66993602bf5/go.mod h1:qssHWj6 github.com/dsnet/golib v0.0.0-20171103203638-1ea166775780/go.mod h1:Lj+Z9rebOhdfkVLjJ8T6VcRQv3SXugXy999NBtR9aFY= github.com/dustinkirkland/golang-petname v0.0.0-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/v9 v9.14.0 h1:ptSfSJELrJ7HJv8gquC4VdAgNp5/LDioVFwJkKX7gC8= -github.com/fastly/go-fastly/v9 v9.14.0/go.mod h1:ZVG7JYdNvVU20gxq4Vy8Zu397nrzPdvkbIM5j29Me+M= +github.com/fastly/go-fastly/v10 v10.0.0 h1:qK3dmemdPuAumbDiKoMzKO3mYJjfniPuFHGDGxfsftA= +github.com/fastly/go-fastly/v10 v10.0.0/go.mod h1:q4FqB+nIJj8fQGJufIKAGdEqGnd+ZHO4qWisZLTJmcM= 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 67fb76f82..012d441fa 100644 --- a/pkg/api/interface.go +++ b/pkg/api/interface.go @@ -4,7 +4,7 @@ import ( "crypto/ed25519" "net/http" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 017966a0d..cfe71ba68 100644 --- a/pkg/app/run.go +++ b/pkg/app/run.go @@ -12,7 +12,7 @@ import ( "strings" "time" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/kingpin" "github.com/fatih/color" "github.com/hashicorp/cap/oidc" diff --git a/pkg/argparser/cmd.go b/pkg/argparser/cmd.go index 75e0078fc..8739161d9 100644 --- a/pkg/argparser/cmd.go +++ b/pkg/argparser/cmd.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/kingpin" "4d63.com/optional" diff --git a/pkg/argparser/flags.go b/pkg/argparser/flags.go index 0da359397..ae62b3c2c 100644 --- a/pkg/argparser/flags.go +++ b/pkg/argparser/flags.go @@ -12,7 +12,7 @@ import ( "strconv" "strings" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/kingpin" "github.com/fastly/cli/pkg/api" diff --git a/pkg/argparser/flags_test.go b/pkg/argparser/flags_test.go index 1a5bfa4cf..61c794074 100644 --- a/pkg/argparser/flags_test.go +++ b/pkg/argparser/flags_test.go @@ -10,7 +10,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/manifest" diff --git a/pkg/commands/acl/acl_test.go b/pkg/commands/acl/acl_test.go index fb93b69b5..50e091489 100644 --- a/pkg/commands/acl/acl_test.go +++ b/pkg/commands/acl/acl_test.go @@ -3,7 +3,7 @@ package acl_test import ( "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" root "github.com/fastly/cli/pkg/commands/acl" "github.com/fastly/cli/pkg/mock" diff --git a/pkg/commands/acl/create.go b/pkg/commands/acl/create.go index f2d2976f6..52f2adb7f 100644 --- a/pkg/commands/acl/create.go +++ b/pkg/commands/acl/create.go @@ -3,7 +3,7 @@ package acl import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/acl/delete.go b/pkg/commands/acl/delete.go index d19cd97a3..573d97f30 100644 --- a/pkg/commands/acl/delete.go +++ b/pkg/commands/acl/delete.go @@ -3,7 +3,7 @@ package acl import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/acl/describe.go b/pkg/commands/acl/describe.go index a06ea414f..be182890f 100644 --- a/pkg/commands/acl/describe.go +++ b/pkg/commands/acl/describe.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/acl/list.go b/pkg/commands/acl/list.go index 3353f8c56..714aaf35b 100644 --- a/pkg/commands/acl/list.go +++ b/pkg/commands/acl/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/acl/update.go b/pkg/commands/acl/update.go index 339c82af3..e773f6803 100644 --- a/pkg/commands/acl/update.go +++ b/pkg/commands/acl/update.go @@ -3,7 +3,7 @@ package acl import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/aclentry/aclentry_test.go b/pkg/commands/aclentry/aclentry_test.go index 567174988..de0b2ed89 100644 --- a/pkg/commands/aclentry/aclentry_test.go +++ b/pkg/commands/aclentry/aclentry_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" root "github.com/fastly/cli/pkg/commands/aclentry" "github.com/fastly/cli/pkg/mock" diff --git a/pkg/commands/aclentry/create.go b/pkg/commands/aclentry/create.go index 07a16fed2..5805587c3 100644 --- a/pkg/commands/aclentry/create.go +++ b/pkg/commands/aclentry/create.go @@ -3,7 +3,7 @@ package aclentry import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/aclentry/delete.go b/pkg/commands/aclentry/delete.go index 8837e458a..42c01eda5 100644 --- a/pkg/commands/aclentry/delete.go +++ b/pkg/commands/aclentry/delete.go @@ -3,7 +3,7 @@ package aclentry import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/aclentry/describe.go b/pkg/commands/aclentry/describe.go index 8cb785f35..42e832ce7 100644 --- a/pkg/commands/aclentry/describe.go +++ b/pkg/commands/aclentry/describe.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/aclentry/list.go b/pkg/commands/aclentry/list.go index f178cb5be..92251622e 100644 --- a/pkg/commands/aclentry/list.go +++ b/pkg/commands/aclentry/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/aclentry/update.go b/pkg/commands/aclentry/update.go index 1d295f5cc..bdabd8206 100644 --- a/pkg/commands/aclentry/update.go +++ b/pkg/commands/aclentry/update.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/alerts/alerts_test.go b/pkg/commands/alerts/alerts_test.go index 09ab6a37c..6c0ce068b 100644 --- a/pkg/commands/alerts/alerts_test.go +++ b/pkg/commands/alerts/alerts_test.go @@ -8,7 +8,7 @@ import ( root "github.com/fastly/cli/pkg/commands/alerts" "github.com/fastly/cli/pkg/mock" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" ) func TestAlertsCreate(t *testing.T) { diff --git a/pkg/commands/alerts/common.go b/pkg/commands/alerts/common.go index be4ab202b..d2d4da72f 100644 --- a/pkg/commands/alerts/common.go +++ b/pkg/commands/alerts/common.go @@ -5,7 +5,7 @@ import ( "io" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" ) // evaluationType is a list of supported evaluation types. diff --git a/pkg/commands/alerts/create.go b/pkg/commands/alerts/create.go index 885025aec..6e0739a19 100644 --- a/pkg/commands/alerts/create.go +++ b/pkg/commands/alerts/create.go @@ -6,7 +6,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/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" ) // NewCreateCommand returns a usable command registered under the parent. diff --git a/pkg/commands/alerts/delete.go b/pkg/commands/alerts/delete.go index cd1ec0f91..9201fb2e9 100644 --- a/pkg/commands/alerts/delete.go +++ b/pkg/commands/alerts/delete.go @@ -4,7 +4,7 @@ import ( "io" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/alerts/describe.go b/pkg/commands/alerts/describe.go index dd49b402e..e4c2b2e17 100644 --- a/pkg/commands/alerts/describe.go +++ b/pkg/commands/alerts/describe.go @@ -3,7 +3,7 @@ package alerts import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/alerts/list.go b/pkg/commands/alerts/list.go index f30b19562..335c2bf27 100644 --- a/pkg/commands/alerts/list.go +++ b/pkg/commands/alerts/list.go @@ -5,7 +5,7 @@ import ( "io" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/alerts/list_history.go b/pkg/commands/alerts/list_history.go index ff8f148df..673aa641e 100644 --- a/pkg/commands/alerts/list_history.go +++ b/pkg/commands/alerts/list_history.go @@ -5,7 +5,7 @@ import ( "io" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/alerts/update.go b/pkg/commands/alerts/update.go index 9b6cc586c..76f670a4e 100644 --- a/pkg/commands/alerts/update.go +++ b/pkg/commands/alerts/update.go @@ -3,7 +3,7 @@ package alerts import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/authtoken/authtoken_test.go b/pkg/commands/authtoken/authtoken_test.go index 2ac2a58c9..f3494cd54 100644 --- a/pkg/commands/authtoken/authtoken_test.go +++ b/pkg/commands/authtoken/authtoken_test.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 51be1a201..48bd19217 100644 --- a/pkg/commands/authtoken/create.go +++ b/pkg/commands/authtoken/create.go @@ -5,7 +5,7 @@ import ( "strings" "time" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/kingpin" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/authtoken/delete.go b/pkg/commands/authtoken/delete.go index 9123ad40f..45c642890 100644 --- a/pkg/commands/authtoken/delete.go +++ b/pkg/commands/authtoken/delete.go @@ -7,7 +7,7 @@ import ( "os" "path/filepath" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 b87385c9a..08c831df9 100644 --- a/pkg/commands/authtoken/describe.go +++ b/pkg/commands/authtoken/describe.go @@ -5,7 +5,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 9413a84bd..3be06e4e0 100644 --- a/pkg/commands/authtoken/list.go +++ b/pkg/commands/authtoken/list.go @@ -5,7 +5,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/backend/backend_test.go b/pkg/commands/backend/backend_test.go index 549e6b811..3650573d9 100644 --- a/pkg/commands/backend/backend_test.go +++ b/pkg/commands/backend/backend_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" root "github.com/fastly/cli/pkg/commands/backend" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/backend/create.go b/pkg/commands/backend/create.go index 864b69f6a..f92b769b6 100644 --- a/pkg/commands/backend/create.go +++ b/pkg/commands/backend/create.go @@ -5,7 +5,7 @@ import ( "io" "net" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/backend/delete.go b/pkg/commands/backend/delete.go index 24895c334..bf95c6c76 100644 --- a/pkg/commands/backend/delete.go +++ b/pkg/commands/backend/delete.go @@ -3,7 +3,7 @@ package backend import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/backend/describe.go b/pkg/commands/backend/describe.go index 61de8686c..8c9570f34 100644 --- a/pkg/commands/backend/describe.go +++ b/pkg/commands/backend/describe.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/backend/list.go b/pkg/commands/backend/list.go index f6f73cccd..b69c85d44 100644 --- a/pkg/commands/backend/list.go +++ b/pkg/commands/backend/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/backend/update.go b/pkg/commands/backend/update.go index f4ff47d63..6e2aac8cd 100644 --- a/pkg/commands/backend/update.go +++ b/pkg/commands/backend/update.go @@ -4,7 +4,7 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/compute/compute_mocks_test.go b/pkg/commands/compute/compute_mocks_test.go index 44d45f879..e78f72627 100644 --- a/pkg/commands/compute/compute_mocks_test.go +++ b/pkg/commands/compute/compute_mocks_test.go @@ -5,7 +5,7 @@ package compute_test // also a mocked HTTP client). import ( - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 8f1159094..c481dbfcc 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/v9/fastly/computeacls" + "github.com/fastly/go-fastly/v10/fastly/computeacls" ) func TestComputeACLCreate(t *testing.T) { diff --git a/pkg/commands/compute/computeacl/create.go b/pkg/commands/compute/computeacl/create.go index 11b1269f3..154860be5 100644 --- a/pkg/commands/compute/computeacl/create.go +++ b/pkg/commands/compute/computeacl/create.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v9/fastly" - "github.com/fastly/go-fastly/v9/fastly/computeacls" + "github.com/fastly/go-fastly/v10/fastly" + "github.com/fastly/go-fastly/v10/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 0b89965a0..a5e25e62f 100644 --- a/pkg/commands/compute/computeacl/delete.go +++ b/pkg/commands/compute/computeacl/delete.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v9/fastly" - "github.com/fastly/go-fastly/v9/fastly/computeacls" + "github.com/fastly/go-fastly/v10/fastly" + "github.com/fastly/go-fastly/v10/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 e83adb889..af9affa8d 100644 --- a/pkg/commands/compute/computeacl/describe.go +++ b/pkg/commands/compute/computeacl/describe.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v9/fastly" - "github.com/fastly/go-fastly/v9/fastly/computeacls" + "github.com/fastly/go-fastly/v10/fastly" + "github.com/fastly/go-fastly/v10/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 950460dac..36d9dd9fb 100644 --- a/pkg/commands/compute/computeacl/listacls.go +++ b/pkg/commands/compute/computeacl/listacls.go @@ -8,8 +8,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/v9/fastly" - "github.com/fastly/go-fastly/v9/fastly/computeacls" + "github.com/fastly/go-fastly/v10/fastly" + "github.com/fastly/go-fastly/v10/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 51c6b72da..a86fed96c 100644 --- a/pkg/commands/compute/computeacl/listentries.go +++ b/pkg/commands/compute/computeacl/listentries.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v9/fastly" - "github.com/fastly/go-fastly/v9/fastly/computeacls" + "github.com/fastly/go-fastly/v10/fastly" + "github.com/fastly/go-fastly/v10/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 205d0dbe0..45293d348 100644 --- a/pkg/commands/compute/computeacl/lookup.go +++ b/pkg/commands/compute/computeacl/lookup.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v9/fastly" - "github.com/fastly/go-fastly/v9/fastly/computeacls" + "github.com/fastly/go-fastly/v10/fastly" + "github.com/fastly/go-fastly/v10/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 655ca1206..5e64949e1 100644 --- a/pkg/commands/compute/computeacl/update.go +++ b/pkg/commands/compute/computeacl/update.go @@ -6,8 +6,8 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" - "github.com/fastly/go-fastly/v9/fastly/computeacls" + "github.com/fastly/go-fastly/v10/fastly" + "github.com/fastly/go-fastly/v10/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 09b46715a..9e6a97e40 100644 --- a/pkg/commands/compute/deploy.go +++ b/pkg/commands/compute/deploy.go @@ -14,7 +14,7 @@ import ( "syscall" "time" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/kennygrant/sanitize" "github.com/mholt/archiver/v3" diff --git a/pkg/commands/compute/deploy_test.go b/pkg/commands/compute/deploy_test.go index ce26b262c..fb720a21a 100644 --- a/pkg/commands/compute/deploy_test.go +++ b/pkg/commands/compute/deploy_test.go @@ -12,7 +12,7 @@ import ( "testing" "time" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 f5c57be51..80546a76d 100644 --- a/pkg/commands/compute/init.go +++ b/pkg/commands/compute/init.go @@ -16,7 +16,7 @@ import ( "strings" "time" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" cp "github.com/otiai10/copy" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/compute/init_test.go b/pkg/commands/compute/init_test.go index 4de22aaa4..b322b5d51 100644 --- a/pkg/commands/compute/init_test.go +++ b/pkg/commands/compute/init_test.go @@ -10,7 +10,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/config" diff --git a/pkg/commands/compute/setup/backend.go b/pkg/commands/compute/setup/backend.go index daa422b97..bcb5780e8 100644 --- a/pkg/commands/compute/setup/backend.go +++ b/pkg/commands/compute/setup/backend.go @@ -6,7 +6,7 @@ import ( "net" "strconv" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/api" "github.com/fastly/cli/pkg/commands/backend" diff --git a/pkg/commands/compute/setup/config_store.go b/pkg/commands/compute/setup/config_store.go index e87dbe7a8..ee7c2dffd 100644 --- a/pkg/commands/compute/setup/config_store.go +++ b/pkg/commands/compute/setup/config_store.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 22eac436e..b6f35353c 100644 --- a/pkg/commands/compute/setup/domain.go +++ b/pkg/commands/compute/setup/domain.go @@ -8,7 +8,7 @@ import ( "strings" petname "github.com/dustinkirkland/golang-petname" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 32ba2854e..01488cad6 100644 --- a/pkg/commands/compute/setup/kv_store.go +++ b/pkg/commands/compute/setup/kv_store.go @@ -6,7 +6,7 @@ import ( "os" "path/filepath" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/api" "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/compute/setup/secret_store.go b/pkg/commands/compute/setup/secret_store.go index 7f850f3b5..470e4cb7a 100644 --- a/pkg/commands/compute/setup/secret_store.go +++ b/pkg/commands/compute/setup/secret_store.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 537d204ba..8cd90b10b 100644 --- a/pkg/commands/compute/update.go +++ b/pkg/commands/compute/update.go @@ -5,7 +5,7 @@ import ( "io" "path/filepath" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/kennygrant/sanitize" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/configstore/configstore_test.go b/pkg/commands/configstore/configstore_test.go index 1197d4200..67e37e0c3 100644 --- a/pkg/commands/configstore/configstore_test.go +++ b/pkg/commands/configstore/configstore_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 f24fc52ec..9e24ba431 100644 --- a/pkg/commands/configstore/create.go +++ b/pkg/commands/configstore/create.go @@ -3,7 +3,7 @@ package configstore import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 b8153bc93..c7dc9eb19 100644 --- a/pkg/commands/configstore/delete.go +++ b/pkg/commands/configstore/delete.go @@ -3,7 +3,7 @@ package configstore import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 c0c8fda54..c4201951a 100644 --- a/pkg/commands/configstore/describe.go +++ b/pkg/commands/configstore/describe.go @@ -3,7 +3,7 @@ package configstore import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 a886dbc09..adc49459d 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/v9/fastly" + "github.com/fastly/go-fastly/v10/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 06c644dcd..98d9388ea 100644 --- a/pkg/commands/configstore/list.go +++ b/pkg/commands/configstore/list.go @@ -3,7 +3,7 @@ package configstore import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 5d63c6ef2..54acb2926 100644 --- a/pkg/commands/configstore/list_services.go +++ b/pkg/commands/configstore/list_services.go @@ -3,7 +3,7 @@ package configstore import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 82b152ef8..23ffa1e38 100644 --- a/pkg/commands/configstore/update.go +++ b/pkg/commands/configstore/update.go @@ -3,7 +3,7 @@ package configstore import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 16fb4d798..ae9133c2e 100644 --- a/pkg/commands/configstoreentry/configstoreentry_test.go +++ b/pkg/commands/configstoreentry/configstoreentry_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 1304ceec8..18f5da286 100644 --- a/pkg/commands/configstoreentry/create.go +++ b/pkg/commands/configstoreentry/create.go @@ -3,7 +3,7 @@ package configstoreentry import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 70da468e9..b4c8f61db 100644 --- a/pkg/commands/configstoreentry/delete.go +++ b/pkg/commands/configstoreentry/delete.go @@ -6,7 +6,7 @@ import ( "strings" "sync" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 e7fd7aca1..43496952e 100644 --- a/pkg/commands/configstoreentry/describe.go +++ b/pkg/commands/configstoreentry/describe.go @@ -3,7 +3,7 @@ package configstoreentry import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 02b02bcf5..1c4f4b981 100644 --- a/pkg/commands/configstoreentry/list.go +++ b/pkg/commands/configstoreentry/list.go @@ -3,7 +3,7 @@ package configstoreentry import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 f99e2ba71..122068983 100644 --- a/pkg/commands/configstoreentry/update.go +++ b/pkg/commands/configstoreentry/update.go @@ -3,7 +3,7 @@ package configstoreentry import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/dashboard/common/print.go b/pkg/commands/dashboard/common/print.go index 537edcdd9..4100c44f8 100644 --- a/pkg/commands/dashboard/common/print.go +++ b/pkg/commands/dashboard/common/print.go @@ -6,7 +6,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/text" ) diff --git a/pkg/commands/dashboard/create.go b/pkg/commands/dashboard/create.go index 423735518..832ec2040 100644 --- a/pkg/commands/dashboard/create.go +++ b/pkg/commands/dashboard/create.go @@ -3,7 +3,7 @@ package dashboard import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 f0ec16554..fa81585c1 100644 --- a/pkg/commands/dashboard/dashboard_test.go +++ b/pkg/commands/dashboard/dashboard_test.go @@ -3,7 +3,7 @@ package dashboard_test import ( "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 04a712f37..24e315a0a 100644 --- a/pkg/commands/dashboard/delete.go +++ b/pkg/commands/dashboard/delete.go @@ -3,7 +3,7 @@ package dashboard import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 58dc0770f..fb5cafcef 100644 --- a/pkg/commands/dashboard/describe.go +++ b/pkg/commands/dashboard/describe.go @@ -3,7 +3,7 @@ package dashboard import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/dashboard/common" diff --git a/pkg/commands/dashboard/item/create.go b/pkg/commands/dashboard/item/create.go index 31033cd48..d4c0204e6 100644 --- a/pkg/commands/dashboard/item/create.go +++ b/pkg/commands/dashboard/item/create.go @@ -3,7 +3,7 @@ package item import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/dashboard/common" diff --git a/pkg/commands/dashboard/item/delete.go b/pkg/commands/dashboard/item/delete.go index ea4293078..188400b38 100644 --- a/pkg/commands/dashboard/item/delete.go +++ b/pkg/commands/dashboard/item/delete.go @@ -4,7 +4,7 @@ import ( "io" "slices" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 69ee2a4c6..a30e573f2 100644 --- a/pkg/commands/dashboard/item/describe.go +++ b/pkg/commands/dashboard/item/describe.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/dashboard/common" diff --git a/pkg/commands/dashboard/item/item_test.go b/pkg/commands/dashboard/item/item_test.go index b8374ed8b..2c8259205 100644 --- a/pkg/commands/dashboard/item/item_test.go +++ b/pkg/commands/dashboard/item/item_test.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 9c0431d96..851b6b121 100644 --- a/pkg/commands/dashboard/item/update.go +++ b/pkg/commands/dashboard/item/update.go @@ -5,7 +5,7 @@ import ( "io" "slices" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 15af5d5fa..dad769243 100644 --- a/pkg/commands/dashboard/list.go +++ b/pkg/commands/dashboard/list.go @@ -4,7 +4,7 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/dashboard/common" diff --git a/pkg/commands/dashboard/update.go b/pkg/commands/dashboard/update.go index 240a6a9d1..c26b10371 100644 --- a/pkg/commands/dashboard/update.go +++ b/pkg/commands/dashboard/update.go @@ -3,7 +3,7 @@ package dashboard import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/dictionary/create.go b/pkg/commands/dictionary/create.go index 7fa468fa9..279eaa051 100644 --- a/pkg/commands/dictionary/create.go +++ b/pkg/commands/dictionary/create.go @@ -3,7 +3,7 @@ package dictionary import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/dictionary/delete.go b/pkg/commands/dictionary/delete.go index 6fd96e026..23fb69dd5 100644 --- a/pkg/commands/dictionary/delete.go +++ b/pkg/commands/dictionary/delete.go @@ -3,7 +3,7 @@ package dictionary import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/dictionary/describe.go b/pkg/commands/dictionary/describe.go index 4f4a56740..7a43c367f 100644 --- a/pkg/commands/dictionary/describe.go +++ b/pkg/commands/dictionary/describe.go @@ -3,7 +3,7 @@ package dictionary import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/dictionary/dictionary_test.go b/pkg/commands/dictionary/dictionary_test.go index d79eebf48..96e9b364a 100644 --- a/pkg/commands/dictionary/dictionary_test.go +++ b/pkg/commands/dictionary/dictionary_test.go @@ -5,7 +5,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" root "github.com/fastly/cli/pkg/commands/dictionary" "github.com/fastly/cli/pkg/mock" diff --git a/pkg/commands/dictionary/list.go b/pkg/commands/dictionary/list.go index 636269fa4..b25a45ace 100644 --- a/pkg/commands/dictionary/list.go +++ b/pkg/commands/dictionary/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/dictionary/update.go b/pkg/commands/dictionary/update.go index 579b9769c..44ceb1ef1 100644 --- a/pkg/commands/dictionary/update.go +++ b/pkg/commands/dictionary/update.go @@ -5,7 +5,7 @@ import ( "io" "strconv" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/dictionaryentry/create.go b/pkg/commands/dictionaryentry/create.go index ede53e2b5..d1c7ab582 100644 --- a/pkg/commands/dictionaryentry/create.go +++ b/pkg/commands/dictionaryentry/create.go @@ -3,7 +3,7 @@ package dictionaryentry import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/dictionaryentry/delete.go b/pkg/commands/dictionaryentry/delete.go index eb775764c..172782ee2 100644 --- a/pkg/commands/dictionaryentry/delete.go +++ b/pkg/commands/dictionaryentry/delete.go @@ -3,7 +3,7 @@ package dictionaryentry import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/dictionaryentry/describe.go b/pkg/commands/dictionaryentry/describe.go index bfad23b70..86d9faeba 100644 --- a/pkg/commands/dictionaryentry/describe.go +++ b/pkg/commands/dictionaryentry/describe.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/dictionaryentry/dictionaryitem_test.go b/pkg/commands/dictionaryentry/dictionaryitem_test.go index 7818a1046..86e76f512 100644 --- a/pkg/commands/dictionaryentry/dictionaryitem_test.go +++ b/pkg/commands/dictionaryentry/dictionaryitem_test.go @@ -9,7 +9,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/dictionaryentry/list.go b/pkg/commands/dictionaryentry/list.go index 08e8900fb..cda7dad23 100644 --- a/pkg/commands/dictionaryentry/list.go +++ b/pkg/commands/dictionaryentry/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/dictionaryentry/update.go b/pkg/commands/dictionaryentry/update.go index 550b3aea9..6341c04fd 100644 --- a/pkg/commands/dictionaryentry/update.go +++ b/pkg/commands/dictionaryentry/update.go @@ -6,7 +6,7 @@ import ( "io" "os" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/domain/create.go b/pkg/commands/domain/create.go index 70b45f340..a9725f345 100644 --- a/pkg/commands/domain/create.go +++ b/pkg/commands/domain/create.go @@ -3,7 +3,7 @@ package domain import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/domain/delete.go b/pkg/commands/domain/delete.go index 7702a652a..ed717910a 100644 --- a/pkg/commands/domain/delete.go +++ b/pkg/commands/domain/delete.go @@ -3,7 +3,7 @@ package domain import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/domain/describe.go b/pkg/commands/domain/describe.go index 1bbbc492a..cf4886da5 100644 --- a/pkg/commands/domain/describe.go +++ b/pkg/commands/domain/describe.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "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 c1cd66e7d..c646e35c3 100644 --- a/pkg/commands/domain/domain_test.go +++ b/pkg/commands/domain/domain_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" root "github.com/fastly/cli/pkg/commands/domain" "github.com/fastly/cli/pkg/mock" diff --git a/pkg/commands/domain/list.go b/pkg/commands/domain/list.go index e8da0dd48..20c64083f 100644 --- a/pkg/commands/domain/list.go +++ b/pkg/commands/domain/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "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 dcbf1752e..e91d51896 100644 --- a/pkg/commands/domain/update.go +++ b/pkg/commands/domain/update.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/domain/validate.go b/pkg/commands/domain/validate.go index 54b62c211..3d10cc14d 100644 --- a/pkg/commands/domain/validate.go +++ b/pkg/commands/domain/validate.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/domainv1/common.go b/pkg/commands/domainv1/common.go index 30167fa0a..c5c3d83b5 100644 --- a/pkg/commands/domainv1/common.go +++ b/pkg/commands/domainv1/common.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - v1 "github.com/fastly/go-fastly/v9/fastly/domains/v1" + v1 "github.com/fastly/go-fastly/v10/fastly/domains/v1" "github.com/fastly/cli/pkg/text" ) diff --git a/pkg/commands/domainv1/create.go b/pkg/commands/domainv1/create.go index ef7131aa6..9ee26e257 100644 --- a/pkg/commands/domainv1/create.go +++ b/pkg/commands/domainv1/create.go @@ -5,8 +5,8 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" - v1 "github.com/fastly/go-fastly/v9/fastly/domains/v1" + "github.com/fastly/go-fastly/v10/fastly" + v1 "github.com/fastly/go-fastly/v10/fastly/domains/v1" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/domainv1/delete.go b/pkg/commands/domainv1/delete.go index 09cb1903b..96f43b88b 100644 --- a/pkg/commands/domainv1/delete.go +++ b/pkg/commands/domainv1/delete.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v9/fastly" - v1 "github.com/fastly/go-fastly/v9/fastly/domains/v1" + "github.com/fastly/go-fastly/v10/fastly" + v1 "github.com/fastly/go-fastly/v10/fastly/domains/v1" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/domainv1/describe.go b/pkg/commands/domainv1/describe.go index fa6a7cf22..66bc6eca9 100644 --- a/pkg/commands/domainv1/describe.go +++ b/pkg/commands/domainv1/describe.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v9/fastly" - v1 "github.com/fastly/go-fastly/v9/fastly/domains/v1" + "github.com/fastly/go-fastly/v10/fastly" + v1 "github.com/fastly/go-fastly/v10/fastly/domains/v1" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/domainv1/domain_test.go b/pkg/commands/domainv1/domain_test.go index 72110de4d..20a6aaad3 100644 --- a/pkg/commands/domainv1/domain_test.go +++ b/pkg/commands/domainv1/domain_test.go @@ -8,7 +8,7 @@ import ( "strings" "testing" - v1 "github.com/fastly/go-fastly/v9/fastly/domains/v1" + v1 "github.com/fastly/go-fastly/v10/fastly/domains/v1" root "github.com/fastly/cli/pkg/commands/domainv1" "github.com/fastly/cli/pkg/testutil" diff --git a/pkg/commands/domainv1/list.go b/pkg/commands/domainv1/list.go index 0947a270d..a9cd78ce4 100644 --- a/pkg/commands/domainv1/list.go +++ b/pkg/commands/domainv1/list.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v9/fastly" - v1 "github.com/fastly/go-fastly/v9/fastly/domains/v1" + "github.com/fastly/go-fastly/v10/fastly" + v1 "github.com/fastly/go-fastly/v10/fastly/domains/v1" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/domainv1/update.go b/pkg/commands/domainv1/update.go index ecf838d75..273af09bd 100644 --- a/pkg/commands/domainv1/update.go +++ b/pkg/commands/domainv1/update.go @@ -5,8 +5,8 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" - v1 "github.com/fastly/go-fastly/v9/fastly/domains/v1" + "github.com/fastly/go-fastly/v10/fastly" + v1 "github.com/fastly/go-fastly/v10/fastly/domains/v1" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/healthcheck/create.go b/pkg/commands/healthcheck/create.go index b4b7a11ac..0bef4e8fb 100644 --- a/pkg/commands/healthcheck/create.go +++ b/pkg/commands/healthcheck/create.go @@ -3,7 +3,7 @@ package healthcheck import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/healthcheck/delete.go b/pkg/commands/healthcheck/delete.go index d325e7978..dff150baa 100644 --- a/pkg/commands/healthcheck/delete.go +++ b/pkg/commands/healthcheck/delete.go @@ -3,7 +3,7 @@ package healthcheck import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/healthcheck/describe.go b/pkg/commands/healthcheck/describe.go index bf34c82aa..1a1d5e662 100644 --- a/pkg/commands/healthcheck/describe.go +++ b/pkg/commands/healthcheck/describe.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/healthcheck/healthcheck_test.go b/pkg/commands/healthcheck/healthcheck_test.go index 0a98e5bff..19d27439b 100644 --- a/pkg/commands/healthcheck/healthcheck_test.go +++ b/pkg/commands/healthcheck/healthcheck_test.go @@ -8,7 +8,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/healthcheck/list.go b/pkg/commands/healthcheck/list.go index 77acbf0e9..b926deaf7 100644 --- a/pkg/commands/healthcheck/list.go +++ b/pkg/commands/healthcheck/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/healthcheck/update.go b/pkg/commands/healthcheck/update.go index 51f697e7a..45e1a68ec 100644 --- a/pkg/commands/healthcheck/update.go +++ b/pkg/commands/healthcheck/update.go @@ -3,7 +3,7 @@ package healthcheck import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/ip/ip_test.go b/pkg/commands/ip/ip_test.go index 99c1163ff..9b2bea8de 100644 --- a/pkg/commands/ip/ip_test.go +++ b/pkg/commands/ip/ip_test.go @@ -3,7 +3,7 @@ package ip_test import ( "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 f4ffde11c..e8550aab2 100644 --- a/pkg/commands/kvstore/create.go +++ b/pkg/commands/kvstore/create.go @@ -3,7 +3,7 @@ package kvstore import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 4b35adb6f..bedaf675b 100644 --- a/pkg/commands/kvstore/delete.go +++ b/pkg/commands/kvstore/delete.go @@ -5,7 +5,7 @@ import ( "io" "strconv" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 b54e99131..00da05838 100644 --- a/pkg/commands/kvstore/describe.go +++ b/pkg/commands/kvstore/describe.go @@ -3,7 +3,7 @@ package kvstore import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 72d6e0627..60c4391dd 100644 --- a/pkg/commands/kvstore/kvstore_test.go +++ b/pkg/commands/kvstore/kvstore_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 1235ea660..8bcab3521 100644 --- a/pkg/commands/kvstore/list.go +++ b/pkg/commands/kvstore/list.go @@ -3,7 +3,7 @@ package kvstore import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 01972ff73..ee5f932fd 100644 --- a/pkg/commands/kvstoreentry/create.go +++ b/pkg/commands/kvstoreentry/create.go @@ -11,7 +11,7 @@ import ( "sync" "sync/atomic" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 6b9bc52a9..a0c59f461 100644 --- a/pkg/commands/kvstoreentry/delete.go +++ b/pkg/commands/kvstoreentry/delete.go @@ -7,7 +7,7 @@ import ( "sync" "sync/atomic" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 8d92475dd..01d4faaff 100644 --- a/pkg/commands/kvstoreentry/describe.go +++ b/pkg/commands/kvstoreentry/describe.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 5fdcaf992..364a959d5 100644 --- a/pkg/commands/kvstoreentry/kvstoreentry_test.go +++ b/pkg/commands/kvstoreentry/kvstoreentry_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 a0402c477..6430cfd80 100644 --- a/pkg/commands/kvstoreentry/list.go +++ b/pkg/commands/kvstoreentry/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/azureblob/azureblob_integration_test.go b/pkg/commands/logging/azureblob/azureblob_integration_test.go index ed29ab141..6c845973f 100644 --- a/pkg/commands/logging/azureblob/azureblob_integration_test.go +++ b/pkg/commands/logging/azureblob/azureblob_integration_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/logging/azureblob/azureblob_test.go b/pkg/commands/logging/azureblob/azureblob_test.go index 2f22330c0..f22bcbe18 100644 --- a/pkg/commands/logging/azureblob/azureblob_test.go +++ b/pkg/commands/logging/azureblob/azureblob_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/logging/azureblob" diff --git a/pkg/commands/logging/azureblob/create.go b/pkg/commands/logging/azureblob/create.go index 291bc8f87..92a01d591 100644 --- a/pkg/commands/logging/azureblob/create.go +++ b/pkg/commands/logging/azureblob/create.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/azureblob/delete.go b/pkg/commands/logging/azureblob/delete.go index 2d34fa034..f842f7b56 100644 --- a/pkg/commands/logging/azureblob/delete.go +++ b/pkg/commands/logging/azureblob/delete.go @@ -3,7 +3,7 @@ package azureblob import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/azureblob/describe.go b/pkg/commands/logging/azureblob/describe.go index f90c2a075..c42218fe1 100644 --- a/pkg/commands/logging/azureblob/describe.go +++ b/pkg/commands/logging/azureblob/describe.go @@ -3,7 +3,7 @@ package azureblob import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/azureblob/list.go b/pkg/commands/logging/azureblob/list.go index eea494279..a3bd8540b 100644 --- a/pkg/commands/logging/azureblob/list.go +++ b/pkg/commands/logging/azureblob/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/azureblob/update.go b/pkg/commands/logging/azureblob/update.go index 876d6df1e..0f20e5f0f 100644 --- a/pkg/commands/logging/azureblob/update.go +++ b/pkg/commands/logging/azureblob/update.go @@ -3,7 +3,7 @@ package azureblob import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/bigquery/bigquery_integration_test.go b/pkg/commands/logging/bigquery/bigquery_integration_test.go index e87265439..56a54d86c 100644 --- a/pkg/commands/logging/bigquery/bigquery_integration_test.go +++ b/pkg/commands/logging/bigquery/bigquery_integration_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/logging/bigquery/bigquery_test.go b/pkg/commands/logging/bigquery/bigquery_test.go index e23961bc5..9199ffd84 100644 --- a/pkg/commands/logging/bigquery/bigquery_test.go +++ b/pkg/commands/logging/bigquery/bigquery_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/logging/bigquery" diff --git a/pkg/commands/logging/bigquery/create.go b/pkg/commands/logging/bigquery/create.go index ceda33141..4e34368d6 100644 --- a/pkg/commands/logging/bigquery/create.go +++ b/pkg/commands/logging/bigquery/create.go @@ -3,7 +3,7 @@ package bigquery import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/bigquery/delete.go b/pkg/commands/logging/bigquery/delete.go index 0580ccc46..55508d606 100644 --- a/pkg/commands/logging/bigquery/delete.go +++ b/pkg/commands/logging/bigquery/delete.go @@ -3,7 +3,7 @@ package bigquery import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/bigquery/describe.go b/pkg/commands/logging/bigquery/describe.go index 2500f8308..07f212518 100644 --- a/pkg/commands/logging/bigquery/describe.go +++ b/pkg/commands/logging/bigquery/describe.go @@ -3,7 +3,7 @@ package bigquery import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/bigquery/list.go b/pkg/commands/logging/bigquery/list.go index bf5765828..71fe814b9 100644 --- a/pkg/commands/logging/bigquery/list.go +++ b/pkg/commands/logging/bigquery/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/bigquery/update.go b/pkg/commands/logging/bigquery/update.go index a533956a1..f98e507b4 100644 --- a/pkg/commands/logging/bigquery/update.go +++ b/pkg/commands/logging/bigquery/update.go @@ -3,7 +3,7 @@ package bigquery import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/cloudfiles/cloudfiles_integration_test.go b/pkg/commands/logging/cloudfiles/cloudfiles_integration_test.go index ed5877c3d..fae0a3077 100644 --- a/pkg/commands/logging/cloudfiles/cloudfiles_integration_test.go +++ b/pkg/commands/logging/cloudfiles/cloudfiles_integration_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/logging/cloudfiles/cloudfiles_test.go b/pkg/commands/logging/cloudfiles/cloudfiles_test.go index 3e02848fe..4df513552 100644 --- a/pkg/commands/logging/cloudfiles/cloudfiles_test.go +++ b/pkg/commands/logging/cloudfiles/cloudfiles_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/logging/cloudfiles" diff --git a/pkg/commands/logging/cloudfiles/create.go b/pkg/commands/logging/cloudfiles/create.go index 4c0cd33f3..148813c43 100644 --- a/pkg/commands/logging/cloudfiles/create.go +++ b/pkg/commands/logging/cloudfiles/create.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/cloudfiles/delete.go b/pkg/commands/logging/cloudfiles/delete.go index a0888b2d9..44632e54c 100644 --- a/pkg/commands/logging/cloudfiles/delete.go +++ b/pkg/commands/logging/cloudfiles/delete.go @@ -3,7 +3,7 @@ package cloudfiles import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/cloudfiles/describe.go b/pkg/commands/logging/cloudfiles/describe.go index 71a2bcc90..213511bb6 100644 --- a/pkg/commands/logging/cloudfiles/describe.go +++ b/pkg/commands/logging/cloudfiles/describe.go @@ -3,7 +3,7 @@ package cloudfiles import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/cloudfiles/list.go b/pkg/commands/logging/cloudfiles/list.go index 13c33156d..e67ab92bd 100644 --- a/pkg/commands/logging/cloudfiles/list.go +++ b/pkg/commands/logging/cloudfiles/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/cloudfiles/update.go b/pkg/commands/logging/cloudfiles/update.go index 26e9106cb..1a7861e97 100644 --- a/pkg/commands/logging/cloudfiles/update.go +++ b/pkg/commands/logging/cloudfiles/update.go @@ -3,7 +3,7 @@ package cloudfiles import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/datadog/create.go b/pkg/commands/logging/datadog/create.go index 3a1122eb0..ad2074e6e 100644 --- a/pkg/commands/logging/datadog/create.go +++ b/pkg/commands/logging/datadog/create.go @@ -3,7 +3,7 @@ package datadog import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/datadog/datadog_integration_test.go b/pkg/commands/logging/datadog/datadog_integration_test.go index 9d9fd7a4c..e2a49f3e3 100644 --- a/pkg/commands/logging/datadog/datadog_integration_test.go +++ b/pkg/commands/logging/datadog/datadog_integration_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/logging/datadog/datadog_test.go b/pkg/commands/logging/datadog/datadog_test.go index 5f5723450..58659ba7c 100644 --- a/pkg/commands/logging/datadog/datadog_test.go +++ b/pkg/commands/logging/datadog/datadog_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/logging/datadog" diff --git a/pkg/commands/logging/datadog/delete.go b/pkg/commands/logging/datadog/delete.go index 86fbcc0e1..2e07bcbfc 100644 --- a/pkg/commands/logging/datadog/delete.go +++ b/pkg/commands/logging/datadog/delete.go @@ -3,7 +3,7 @@ package datadog import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/datadog/describe.go b/pkg/commands/logging/datadog/describe.go index a6337cd6b..361346331 100644 --- a/pkg/commands/logging/datadog/describe.go +++ b/pkg/commands/logging/datadog/describe.go @@ -3,7 +3,7 @@ package datadog import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/datadog/list.go b/pkg/commands/logging/datadog/list.go index e003ca088..f527a6a9b 100644 --- a/pkg/commands/logging/datadog/list.go +++ b/pkg/commands/logging/datadog/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/datadog/update.go b/pkg/commands/logging/datadog/update.go index fcc8966ac..b0afdd53c 100644 --- a/pkg/commands/logging/datadog/update.go +++ b/pkg/commands/logging/datadog/update.go @@ -3,7 +3,7 @@ package datadog import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/digitalocean/create.go b/pkg/commands/logging/digitalocean/create.go index ae70419db..bfe19ab12 100644 --- a/pkg/commands/logging/digitalocean/create.go +++ b/pkg/commands/logging/digitalocean/create.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/digitalocean/delete.go b/pkg/commands/logging/digitalocean/delete.go index 7ed3954b6..3c1b98316 100644 --- a/pkg/commands/logging/digitalocean/delete.go +++ b/pkg/commands/logging/digitalocean/delete.go @@ -3,7 +3,7 @@ package digitalocean import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/digitalocean/describe.go b/pkg/commands/logging/digitalocean/describe.go index c4cf5d97f..c1d29d69f 100644 --- a/pkg/commands/logging/digitalocean/describe.go +++ b/pkg/commands/logging/digitalocean/describe.go @@ -3,7 +3,7 @@ package digitalocean import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/digitalocean/digitalocean_integration_test.go b/pkg/commands/logging/digitalocean/digitalocean_integration_test.go index 8b46c96cd..63bcd7a49 100644 --- a/pkg/commands/logging/digitalocean/digitalocean_integration_test.go +++ b/pkg/commands/logging/digitalocean/digitalocean_integration_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/logging/digitalocean/digitalocean_test.go b/pkg/commands/logging/digitalocean/digitalocean_test.go index f06ee1861..f0952eae2 100644 --- a/pkg/commands/logging/digitalocean/digitalocean_test.go +++ b/pkg/commands/logging/digitalocean/digitalocean_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/logging/digitalocean" diff --git a/pkg/commands/logging/digitalocean/list.go b/pkg/commands/logging/digitalocean/list.go index eb8fa8a42..959b33cc8 100644 --- a/pkg/commands/logging/digitalocean/list.go +++ b/pkg/commands/logging/digitalocean/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/digitalocean/update.go b/pkg/commands/logging/digitalocean/update.go index 27b07cbcb..e74c412ee 100644 --- a/pkg/commands/logging/digitalocean/update.go +++ b/pkg/commands/logging/digitalocean/update.go @@ -3,7 +3,7 @@ package digitalocean import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/elasticsearch/create.go b/pkg/commands/logging/elasticsearch/create.go index 4c23a9c35..d9970aacb 100644 --- a/pkg/commands/logging/elasticsearch/create.go +++ b/pkg/commands/logging/elasticsearch/create.go @@ -3,7 +3,7 @@ package elasticsearch import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/elasticsearch/delete.go b/pkg/commands/logging/elasticsearch/delete.go index 15aecdc44..15172d107 100644 --- a/pkg/commands/logging/elasticsearch/delete.go +++ b/pkg/commands/logging/elasticsearch/delete.go @@ -3,7 +3,7 @@ package elasticsearch import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/elasticsearch/describe.go b/pkg/commands/logging/elasticsearch/describe.go index b0d2b6f30..4253ecec2 100644 --- a/pkg/commands/logging/elasticsearch/describe.go +++ b/pkg/commands/logging/elasticsearch/describe.go @@ -3,7 +3,7 @@ package elasticsearch import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/elasticsearch/elasticsearch_integration_test.go b/pkg/commands/logging/elasticsearch/elasticsearch_integration_test.go index c2f704390..58960a8ef 100644 --- a/pkg/commands/logging/elasticsearch/elasticsearch_integration_test.go +++ b/pkg/commands/logging/elasticsearch/elasticsearch_integration_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/logging/elasticsearch/elasticsearch_test.go b/pkg/commands/logging/elasticsearch/elasticsearch_test.go index a2450ab87..6b936ed47 100644 --- a/pkg/commands/logging/elasticsearch/elasticsearch_test.go +++ b/pkg/commands/logging/elasticsearch/elasticsearch_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/logging/elasticsearch" diff --git a/pkg/commands/logging/elasticsearch/list.go b/pkg/commands/logging/elasticsearch/list.go index ddb62908d..85bf79f2f 100644 --- a/pkg/commands/logging/elasticsearch/list.go +++ b/pkg/commands/logging/elasticsearch/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/elasticsearch/update.go b/pkg/commands/logging/elasticsearch/update.go index 44272e239..8829f006b 100644 --- a/pkg/commands/logging/elasticsearch/update.go +++ b/pkg/commands/logging/elasticsearch/update.go @@ -3,7 +3,7 @@ package elasticsearch import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/ftp/create.go b/pkg/commands/logging/ftp/create.go index 23b818c2b..c5fdc3840 100644 --- a/pkg/commands/logging/ftp/create.go +++ b/pkg/commands/logging/ftp/create.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/ftp/delete.go b/pkg/commands/logging/ftp/delete.go index f9cfea102..fc9eddd8b 100644 --- a/pkg/commands/logging/ftp/delete.go +++ b/pkg/commands/logging/ftp/delete.go @@ -3,7 +3,7 @@ package ftp import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/ftp/describe.go b/pkg/commands/logging/ftp/describe.go index 7c8817263..44bdf34b0 100644 --- a/pkg/commands/logging/ftp/describe.go +++ b/pkg/commands/logging/ftp/describe.go @@ -3,7 +3,7 @@ package ftp import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/ftp/ftp_integration_test.go b/pkg/commands/logging/ftp/ftp_integration_test.go index 7c829666f..a17c6c203 100644 --- a/pkg/commands/logging/ftp/ftp_integration_test.go +++ b/pkg/commands/logging/ftp/ftp_integration_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/logging/ftp/ftp_test.go b/pkg/commands/logging/ftp/ftp_test.go index 85674da15..0f018ca4e 100644 --- a/pkg/commands/logging/ftp/ftp_test.go +++ b/pkg/commands/logging/ftp/ftp_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/logging/ftp" diff --git a/pkg/commands/logging/ftp/list.go b/pkg/commands/logging/ftp/list.go index 1f7b5b0eb..86737de9d 100644 --- a/pkg/commands/logging/ftp/list.go +++ b/pkg/commands/logging/ftp/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/ftp/update.go b/pkg/commands/logging/ftp/update.go index 19356947c..4b875fb14 100644 --- a/pkg/commands/logging/ftp/update.go +++ b/pkg/commands/logging/ftp/update.go @@ -3,7 +3,7 @@ package ftp import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/gcs/create.go b/pkg/commands/logging/gcs/create.go index 645f94d27..bd55e73d9 100644 --- a/pkg/commands/logging/gcs/create.go +++ b/pkg/commands/logging/gcs/create.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/gcs/delete.go b/pkg/commands/logging/gcs/delete.go index 91434a60a..50db7c72a 100644 --- a/pkg/commands/logging/gcs/delete.go +++ b/pkg/commands/logging/gcs/delete.go @@ -3,7 +3,7 @@ package gcs import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/gcs/describe.go b/pkg/commands/logging/gcs/describe.go index bf35842e2..4482b1e80 100644 --- a/pkg/commands/logging/gcs/describe.go +++ b/pkg/commands/logging/gcs/describe.go @@ -3,7 +3,7 @@ package gcs import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/gcs/gcs_integration_test.go b/pkg/commands/logging/gcs/gcs_integration_test.go index 3595f145e..24f24fcc3 100644 --- a/pkg/commands/logging/gcs/gcs_integration_test.go +++ b/pkg/commands/logging/gcs/gcs_integration_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/logging/gcs/gcs_test.go b/pkg/commands/logging/gcs/gcs_test.go index 4c41a9c74..e9ddf4f0a 100644 --- a/pkg/commands/logging/gcs/gcs_test.go +++ b/pkg/commands/logging/gcs/gcs_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/logging/gcs" diff --git a/pkg/commands/logging/gcs/list.go b/pkg/commands/logging/gcs/list.go index 94067023c..190607d8f 100644 --- a/pkg/commands/logging/gcs/list.go +++ b/pkg/commands/logging/gcs/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/gcs/update.go b/pkg/commands/logging/gcs/update.go index d8d3b7d11..dc6e656c3 100644 --- a/pkg/commands/logging/gcs/update.go +++ b/pkg/commands/logging/gcs/update.go @@ -3,7 +3,7 @@ package gcs import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/googlepubsub/create.go b/pkg/commands/logging/googlepubsub/create.go index 6ce345cc3..986059364 100644 --- a/pkg/commands/logging/googlepubsub/create.go +++ b/pkg/commands/logging/googlepubsub/create.go @@ -3,7 +3,7 @@ package googlepubsub import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/googlepubsub/delete.go b/pkg/commands/logging/googlepubsub/delete.go index 9a564ec92..422ee5672 100644 --- a/pkg/commands/logging/googlepubsub/delete.go +++ b/pkg/commands/logging/googlepubsub/delete.go @@ -3,7 +3,7 @@ package googlepubsub import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/googlepubsub/describe.go b/pkg/commands/logging/googlepubsub/describe.go index 791b0dca8..c1f321756 100644 --- a/pkg/commands/logging/googlepubsub/describe.go +++ b/pkg/commands/logging/googlepubsub/describe.go @@ -3,7 +3,7 @@ package googlepubsub import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/googlepubsub/googlepubsub_integration_test.go b/pkg/commands/logging/googlepubsub/googlepubsub_integration_test.go index dc1faf4e8..c6c8e4c9f 100644 --- a/pkg/commands/logging/googlepubsub/googlepubsub_integration_test.go +++ b/pkg/commands/logging/googlepubsub/googlepubsub_integration_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/logging/googlepubsub/googlepubsub_test.go b/pkg/commands/logging/googlepubsub/googlepubsub_test.go index 487b29604..355fcd901 100644 --- a/pkg/commands/logging/googlepubsub/googlepubsub_test.go +++ b/pkg/commands/logging/googlepubsub/googlepubsub_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/logging/googlepubsub" diff --git a/pkg/commands/logging/googlepubsub/list.go b/pkg/commands/logging/googlepubsub/list.go index 82abe6ef9..1a119d2e4 100644 --- a/pkg/commands/logging/googlepubsub/list.go +++ b/pkg/commands/logging/googlepubsub/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/googlepubsub/update.go b/pkg/commands/logging/googlepubsub/update.go index 76f78d517..779aa6863 100644 --- a/pkg/commands/logging/googlepubsub/update.go +++ b/pkg/commands/logging/googlepubsub/update.go @@ -3,7 +3,7 @@ package googlepubsub import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/grafanacloudlogs/create.go b/pkg/commands/logging/grafanacloudlogs/create.go index 53f85929c..03507e5d8 100644 --- a/pkg/commands/logging/grafanacloudlogs/create.go +++ b/pkg/commands/logging/grafanacloudlogs/create.go @@ -10,7 +10,7 @@ import ( "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/manifest" "github.com/fastly/cli/pkg/text" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" ) // CreateCommand calls the Fastly API to create a GrafanaCloudLogs logging endpoint. diff --git a/pkg/commands/logging/grafanacloudlogs/delete.go b/pkg/commands/logging/grafanacloudlogs/delete.go index 24beb88b5..92b7f1a7a 100644 --- a/pkg/commands/logging/grafanacloudlogs/delete.go +++ b/pkg/commands/logging/grafanacloudlogs/delete.go @@ -3,7 +3,7 @@ package grafanacloudlogs import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/grafanacloudlogs/describe.go b/pkg/commands/logging/grafanacloudlogs/describe.go index 08a7002fe..d2e6e3a48 100644 --- a/pkg/commands/logging/grafanacloudlogs/describe.go +++ b/pkg/commands/logging/grafanacloudlogs/describe.go @@ -3,7 +3,7 @@ package grafanacloudlogs import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/grafanacloudlogs/grafanacloud_logs_integration_test.go b/pkg/commands/logging/grafanacloudlogs/grafanacloud_logs_integration_test.go index 99edcd357..c0fe48452 100644 --- a/pkg/commands/logging/grafanacloudlogs/grafanacloud_logs_integration_test.go +++ b/pkg/commands/logging/grafanacloudlogs/grafanacloud_logs_integration_test.go @@ -11,7 +11,7 @@ import ( "github.com/fastly/cli/pkg/global" "github.com/fastly/cli/pkg/mock" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" ) func TestGrafanaCloudLogsCreate(t *testing.T) { diff --git a/pkg/commands/logging/grafanacloudlogs/grafanacloudlogs_test.go b/pkg/commands/logging/grafanacloudlogs/grafanacloudlogs_test.go index 9d34f35c8..475dc13f8 100644 --- a/pkg/commands/logging/grafanacloudlogs/grafanacloudlogs_test.go +++ b/pkg/commands/logging/grafanacloudlogs/grafanacloudlogs_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/logging/grafanacloudlogs" diff --git a/pkg/commands/logging/grafanacloudlogs/list.go b/pkg/commands/logging/grafanacloudlogs/list.go index 1cc557d80..667e9b83d 100644 --- a/pkg/commands/logging/grafanacloudlogs/list.go +++ b/pkg/commands/logging/grafanacloudlogs/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/grafanacloudlogs/update.go b/pkg/commands/logging/grafanacloudlogs/update.go index fd5391075..e5f4747a1 100644 --- a/pkg/commands/logging/grafanacloudlogs/update.go +++ b/pkg/commands/logging/grafanacloudlogs/update.go @@ -3,7 +3,7 @@ package grafanacloudlogs import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/heroku/create.go b/pkg/commands/logging/heroku/create.go index 53b2ad3db..6ab42a155 100644 --- a/pkg/commands/logging/heroku/create.go +++ b/pkg/commands/logging/heroku/create.go @@ -3,7 +3,7 @@ package heroku import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/heroku/delete.go b/pkg/commands/logging/heroku/delete.go index 96991fdbc..7ce8a31a6 100644 --- a/pkg/commands/logging/heroku/delete.go +++ b/pkg/commands/logging/heroku/delete.go @@ -3,7 +3,7 @@ package heroku import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/heroku/describe.go b/pkg/commands/logging/heroku/describe.go index d4737c421..f39cf0885 100644 --- a/pkg/commands/logging/heroku/describe.go +++ b/pkg/commands/logging/heroku/describe.go @@ -3,7 +3,7 @@ package heroku import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/heroku/heroku_integration_test.go b/pkg/commands/logging/heroku/heroku_integration_test.go index d536784b2..c59446d0d 100644 --- a/pkg/commands/logging/heroku/heroku_integration_test.go +++ b/pkg/commands/logging/heroku/heroku_integration_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/logging/heroku/heroku_test.go b/pkg/commands/logging/heroku/heroku_test.go index bbf4c2fd7..582420180 100644 --- a/pkg/commands/logging/heroku/heroku_test.go +++ b/pkg/commands/logging/heroku/heroku_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/logging/heroku" diff --git a/pkg/commands/logging/heroku/list.go b/pkg/commands/logging/heroku/list.go index 1cab3749d..8e57a9dc1 100644 --- a/pkg/commands/logging/heroku/list.go +++ b/pkg/commands/logging/heroku/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/heroku/update.go b/pkg/commands/logging/heroku/update.go index 1c8da3139..8c9692275 100644 --- a/pkg/commands/logging/heroku/update.go +++ b/pkg/commands/logging/heroku/update.go @@ -3,7 +3,7 @@ package heroku import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/honeycomb/create.go b/pkg/commands/logging/honeycomb/create.go index 5fe041fe0..1090722ba 100644 --- a/pkg/commands/logging/honeycomb/create.go +++ b/pkg/commands/logging/honeycomb/create.go @@ -3,7 +3,7 @@ package honeycomb import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/honeycomb/delete.go b/pkg/commands/logging/honeycomb/delete.go index 733ee2d95..64b19fb27 100644 --- a/pkg/commands/logging/honeycomb/delete.go +++ b/pkg/commands/logging/honeycomb/delete.go @@ -3,7 +3,7 @@ package honeycomb import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/honeycomb/describe.go b/pkg/commands/logging/honeycomb/describe.go index 9ea8579df..3b4eeed86 100644 --- a/pkg/commands/logging/honeycomb/describe.go +++ b/pkg/commands/logging/honeycomb/describe.go @@ -3,7 +3,7 @@ package honeycomb import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/honeycomb/honeycomb_integration_test.go b/pkg/commands/logging/honeycomb/honeycomb_integration_test.go index 3b9abadd8..7f068fe75 100644 --- a/pkg/commands/logging/honeycomb/honeycomb_integration_test.go +++ b/pkg/commands/logging/honeycomb/honeycomb_integration_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/logging/honeycomb/honeycomb_test.go b/pkg/commands/logging/honeycomb/honeycomb_test.go index 8b0eee3bf..5f029c929 100644 --- a/pkg/commands/logging/honeycomb/honeycomb_test.go +++ b/pkg/commands/logging/honeycomb/honeycomb_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/logging/honeycomb" diff --git a/pkg/commands/logging/honeycomb/list.go b/pkg/commands/logging/honeycomb/list.go index f62345e91..2b064361f 100644 --- a/pkg/commands/logging/honeycomb/list.go +++ b/pkg/commands/logging/honeycomb/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/honeycomb/update.go b/pkg/commands/logging/honeycomb/update.go index ab2e4227c..197ef07f1 100644 --- a/pkg/commands/logging/honeycomb/update.go +++ b/pkg/commands/logging/honeycomb/update.go @@ -3,7 +3,7 @@ package honeycomb import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/https/create.go b/pkg/commands/logging/https/create.go index 0c58e5ba8..77b45992c 100644 --- a/pkg/commands/logging/https/create.go +++ b/pkg/commands/logging/https/create.go @@ -3,7 +3,7 @@ package https import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/https/delete.go b/pkg/commands/logging/https/delete.go index 1f1decce3..e44fe2e56 100644 --- a/pkg/commands/logging/https/delete.go +++ b/pkg/commands/logging/https/delete.go @@ -3,7 +3,7 @@ package https import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/https/describe.go b/pkg/commands/logging/https/describe.go index 1ba8048d6..dac8e3fe0 100644 --- a/pkg/commands/logging/https/describe.go +++ b/pkg/commands/logging/https/describe.go @@ -3,7 +3,7 @@ package https import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/https/https_integration_test.go b/pkg/commands/logging/https/https_integration_test.go index 786e92f17..3117027d3 100644 --- a/pkg/commands/logging/https/https_integration_test.go +++ b/pkg/commands/logging/https/https_integration_test.go @@ -8,7 +8,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/logging/https/https_test.go b/pkg/commands/logging/https/https_test.go index c2b35571e..886f8b36a 100644 --- a/pkg/commands/logging/https/https_test.go +++ b/pkg/commands/logging/https/https_test.go @@ -5,7 +5,7 @@ import ( "net/http" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/logging/https" diff --git a/pkg/commands/logging/https/list.go b/pkg/commands/logging/https/list.go index 5650bd8e5..48c2ec733 100644 --- a/pkg/commands/logging/https/list.go +++ b/pkg/commands/logging/https/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/https/update.go b/pkg/commands/logging/https/update.go index 59e5db779..c614d7b54 100644 --- a/pkg/commands/logging/https/update.go +++ b/pkg/commands/logging/https/update.go @@ -3,7 +3,7 @@ package https import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/kafka/create.go b/pkg/commands/logging/kafka/create.go index a32b95999..59b2493e7 100644 --- a/pkg/commands/logging/kafka/create.go +++ b/pkg/commands/logging/kafka/create.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/kafka/delete.go b/pkg/commands/logging/kafka/delete.go index 8af7fb831..3c21fa0d3 100644 --- a/pkg/commands/logging/kafka/delete.go +++ b/pkg/commands/logging/kafka/delete.go @@ -3,7 +3,7 @@ package kafka import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/kafka/describe.go b/pkg/commands/logging/kafka/describe.go index 8594f81e4..a4218a2a5 100644 --- a/pkg/commands/logging/kafka/describe.go +++ b/pkg/commands/logging/kafka/describe.go @@ -3,7 +3,7 @@ package kafka import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/kafka/kafka_integration_test.go b/pkg/commands/logging/kafka/kafka_integration_test.go index 240774a52..1d975b5f5 100644 --- a/pkg/commands/logging/kafka/kafka_integration_test.go +++ b/pkg/commands/logging/kafka/kafka_integration_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/logging/kafka/kafka_test.go b/pkg/commands/logging/kafka/kafka_test.go index 4fbf9b2f1..068d5b237 100644 --- a/pkg/commands/logging/kafka/kafka_test.go +++ b/pkg/commands/logging/kafka/kafka_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/logging/kafka" diff --git a/pkg/commands/logging/kafka/list.go b/pkg/commands/logging/kafka/list.go index 0b911be3a..e47a3a05c 100644 --- a/pkg/commands/logging/kafka/list.go +++ b/pkg/commands/logging/kafka/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/kafka/update.go b/pkg/commands/logging/kafka/update.go index 2a21292f4..ec44990e0 100644 --- a/pkg/commands/logging/kafka/update.go +++ b/pkg/commands/logging/kafka/update.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/kinesis/create.go b/pkg/commands/logging/kinesis/create.go index 2145003a6..3e4cb37f3 100644 --- a/pkg/commands/logging/kinesis/create.go +++ b/pkg/commands/logging/kinesis/create.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/kinesis/delete.go b/pkg/commands/logging/kinesis/delete.go index f951025b7..c27c7b775 100644 --- a/pkg/commands/logging/kinesis/delete.go +++ b/pkg/commands/logging/kinesis/delete.go @@ -3,7 +3,7 @@ package kinesis import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/kinesis/describe.go b/pkg/commands/logging/kinesis/describe.go index 6efea8d31..20c7bf484 100644 --- a/pkg/commands/logging/kinesis/describe.go +++ b/pkg/commands/logging/kinesis/describe.go @@ -3,7 +3,7 @@ package kinesis import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/kinesis/kinesis_integration_test.go b/pkg/commands/logging/kinesis/kinesis_integration_test.go index c25caaf49..affe2fbc2 100644 --- a/pkg/commands/logging/kinesis/kinesis_integration_test.go +++ b/pkg/commands/logging/kinesis/kinesis_integration_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/logging/kinesis/kinesis_test.go b/pkg/commands/logging/kinesis/kinesis_test.go index d136a8990..cd11b1c2e 100644 --- a/pkg/commands/logging/kinesis/kinesis_test.go +++ b/pkg/commands/logging/kinesis/kinesis_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/logging/kinesis" diff --git a/pkg/commands/logging/kinesis/list.go b/pkg/commands/logging/kinesis/list.go index ec04e5cbd..9ab01d964 100644 --- a/pkg/commands/logging/kinesis/list.go +++ b/pkg/commands/logging/kinesis/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/kinesis/update.go b/pkg/commands/logging/kinesis/update.go index c15986218..907f3b45d 100644 --- a/pkg/commands/logging/kinesis/update.go +++ b/pkg/commands/logging/kinesis/update.go @@ -3,7 +3,7 @@ package kinesis import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/loggly/create.go b/pkg/commands/logging/loggly/create.go index 7cef93ef3..f8be458d0 100644 --- a/pkg/commands/logging/loggly/create.go +++ b/pkg/commands/logging/loggly/create.go @@ -3,7 +3,7 @@ package loggly import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/loggly/delete.go b/pkg/commands/logging/loggly/delete.go index c76069783..bc97c7f19 100644 --- a/pkg/commands/logging/loggly/delete.go +++ b/pkg/commands/logging/loggly/delete.go @@ -3,7 +3,7 @@ package loggly import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/loggly/describe.go b/pkg/commands/logging/loggly/describe.go index 43591b86f..8f9c67a2e 100644 --- a/pkg/commands/logging/loggly/describe.go +++ b/pkg/commands/logging/loggly/describe.go @@ -3,7 +3,7 @@ package loggly import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/loggly/list.go b/pkg/commands/logging/loggly/list.go index fed95c650..2c108292b 100644 --- a/pkg/commands/logging/loggly/list.go +++ b/pkg/commands/logging/loggly/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/loggly/loggly_integration_test.go b/pkg/commands/logging/loggly/loggly_integration_test.go index fd68752c2..d7cac70cf 100644 --- a/pkg/commands/logging/loggly/loggly_integration_test.go +++ b/pkg/commands/logging/loggly/loggly_integration_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/logging/loggly/loggly_test.go b/pkg/commands/logging/loggly/loggly_test.go index ee4c97ee1..6f36345dc 100644 --- a/pkg/commands/logging/loggly/loggly_test.go +++ b/pkg/commands/logging/loggly/loggly_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/logging/loggly" diff --git a/pkg/commands/logging/loggly/update.go b/pkg/commands/logging/loggly/update.go index e492b2bc8..913e74fec 100644 --- a/pkg/commands/logging/loggly/update.go +++ b/pkg/commands/logging/loggly/update.go @@ -3,7 +3,7 @@ package loggly import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/logshuttle/create.go b/pkg/commands/logging/logshuttle/create.go index 44e819e52..efa99f265 100644 --- a/pkg/commands/logging/logshuttle/create.go +++ b/pkg/commands/logging/logshuttle/create.go @@ -3,7 +3,7 @@ package logshuttle import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/logshuttle/delete.go b/pkg/commands/logging/logshuttle/delete.go index 64812970b..23f78e1fd 100644 --- a/pkg/commands/logging/logshuttle/delete.go +++ b/pkg/commands/logging/logshuttle/delete.go @@ -3,7 +3,7 @@ package logshuttle import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/logshuttle/describe.go b/pkg/commands/logging/logshuttle/describe.go index 3914a48f6..8868fde86 100644 --- a/pkg/commands/logging/logshuttle/describe.go +++ b/pkg/commands/logging/logshuttle/describe.go @@ -3,7 +3,7 @@ package logshuttle import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/logshuttle/list.go b/pkg/commands/logging/logshuttle/list.go index 41b05cc45..72e7eee78 100644 --- a/pkg/commands/logging/logshuttle/list.go +++ b/pkg/commands/logging/logshuttle/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/logshuttle/logshuttle_integration_test.go b/pkg/commands/logging/logshuttle/logshuttle_integration_test.go index 233862f7d..1604e7765 100644 --- a/pkg/commands/logging/logshuttle/logshuttle_integration_test.go +++ b/pkg/commands/logging/logshuttle/logshuttle_integration_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/logging/logshuttle/logshuttle_test.go b/pkg/commands/logging/logshuttle/logshuttle_test.go index 686ea7709..b11ebaabd 100644 --- a/pkg/commands/logging/logshuttle/logshuttle_test.go +++ b/pkg/commands/logging/logshuttle/logshuttle_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/logging/logshuttle" diff --git a/pkg/commands/logging/logshuttle/update.go b/pkg/commands/logging/logshuttle/update.go index 1de475d94..c356765b7 100644 --- a/pkg/commands/logging/logshuttle/update.go +++ b/pkg/commands/logging/logshuttle/update.go @@ -3,7 +3,7 @@ package logshuttle import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/newrelic/create.go b/pkg/commands/logging/newrelic/create.go index 91145b74a..38611cb0b 100644 --- a/pkg/commands/logging/newrelic/create.go +++ b/pkg/commands/logging/newrelic/create.go @@ -3,7 +3,7 @@ package newrelic import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/newrelic/delete.go b/pkg/commands/logging/newrelic/delete.go index 6efa7075f..c11e61c3a 100644 --- a/pkg/commands/logging/newrelic/delete.go +++ b/pkg/commands/logging/newrelic/delete.go @@ -3,7 +3,7 @@ package newrelic import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/newrelic/describe.go b/pkg/commands/logging/newrelic/describe.go index 0fb5895b6..1e5d71378 100644 --- a/pkg/commands/logging/newrelic/describe.go +++ b/pkg/commands/logging/newrelic/describe.go @@ -3,7 +3,7 @@ package newrelic import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/newrelic/list.go b/pkg/commands/logging/newrelic/list.go index 2d919b9a5..593d6fd45 100644 --- a/pkg/commands/logging/newrelic/list.go +++ b/pkg/commands/logging/newrelic/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/newrelic/newrelic_test.go b/pkg/commands/logging/newrelic/newrelic_test.go index f341009a0..851f194f0 100644 --- a/pkg/commands/logging/newrelic/newrelic_test.go +++ b/pkg/commands/logging/newrelic/newrelic_test.go @@ -3,7 +3,7 @@ package newrelic_test import ( "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" root "github.com/fastly/cli/pkg/commands/logging" sub "github.com/fastly/cli/pkg/commands/logging/newrelic" diff --git a/pkg/commands/logging/newrelic/update.go b/pkg/commands/logging/newrelic/update.go index b5a7c542f..9aba2a8c8 100644 --- a/pkg/commands/logging/newrelic/update.go +++ b/pkg/commands/logging/newrelic/update.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/newrelicotlp/create.go b/pkg/commands/logging/newrelicotlp/create.go index 4888e50ce..e0151e64c 100644 --- a/pkg/commands/logging/newrelicotlp/create.go +++ b/pkg/commands/logging/newrelicotlp/create.go @@ -3,7 +3,7 @@ package newrelicotlp import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/newrelicotlp/delete.go b/pkg/commands/logging/newrelicotlp/delete.go index 75efcbebe..5d3993b7f 100644 --- a/pkg/commands/logging/newrelicotlp/delete.go +++ b/pkg/commands/logging/newrelicotlp/delete.go @@ -3,7 +3,7 @@ package newrelicotlp import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/newrelicotlp/describe.go b/pkg/commands/logging/newrelicotlp/describe.go index 21a20d0b2..c79c4f3bd 100644 --- a/pkg/commands/logging/newrelicotlp/describe.go +++ b/pkg/commands/logging/newrelicotlp/describe.go @@ -3,7 +3,7 @@ package newrelicotlp import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/newrelicotlp/list.go b/pkg/commands/logging/newrelicotlp/list.go index 86064aef1..a6a0901ba 100644 --- a/pkg/commands/logging/newrelicotlp/list.go +++ b/pkg/commands/logging/newrelicotlp/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/newrelicotlp/newrelicotlp_test.go b/pkg/commands/logging/newrelicotlp/newrelicotlp_test.go index b87d131eb..00f905e63 100644 --- a/pkg/commands/logging/newrelicotlp/newrelicotlp_test.go +++ b/pkg/commands/logging/newrelicotlp/newrelicotlp_test.go @@ -3,7 +3,7 @@ package newrelicotlp_test import ( "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" root "github.com/fastly/cli/pkg/commands/logging" sub "github.com/fastly/cli/pkg/commands/logging/newrelicotlp" diff --git a/pkg/commands/logging/newrelicotlp/update.go b/pkg/commands/logging/newrelicotlp/update.go index f7822948b..1278f35a8 100644 --- a/pkg/commands/logging/newrelicotlp/update.go +++ b/pkg/commands/logging/newrelicotlp/update.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/openstack/create.go b/pkg/commands/logging/openstack/create.go index 2af0c5b18..f5a906ddf 100644 --- a/pkg/commands/logging/openstack/create.go +++ b/pkg/commands/logging/openstack/create.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/openstack/delete.go b/pkg/commands/logging/openstack/delete.go index b549c394a..ab2106ca4 100644 --- a/pkg/commands/logging/openstack/delete.go +++ b/pkg/commands/logging/openstack/delete.go @@ -3,7 +3,7 @@ package openstack import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/openstack/describe.go b/pkg/commands/logging/openstack/describe.go index 6d2d752be..15bf8587f 100644 --- a/pkg/commands/logging/openstack/describe.go +++ b/pkg/commands/logging/openstack/describe.go @@ -3,7 +3,7 @@ package openstack import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/openstack/list.go b/pkg/commands/logging/openstack/list.go index 0a9d77cdb..73f593aec 100644 --- a/pkg/commands/logging/openstack/list.go +++ b/pkg/commands/logging/openstack/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/openstack/openstack_integration_test.go b/pkg/commands/logging/openstack/openstack_integration_test.go index 278730104..700e0185e 100644 --- a/pkg/commands/logging/openstack/openstack_integration_test.go +++ b/pkg/commands/logging/openstack/openstack_integration_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/logging/openstack/openstack_test.go b/pkg/commands/logging/openstack/openstack_test.go index 8d81a7c02..517f8eca6 100644 --- a/pkg/commands/logging/openstack/openstack_test.go +++ b/pkg/commands/logging/openstack/openstack_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/logging/openstack" diff --git a/pkg/commands/logging/openstack/update.go b/pkg/commands/logging/openstack/update.go index 067913ccd..7db21d050 100644 --- a/pkg/commands/logging/openstack/update.go +++ b/pkg/commands/logging/openstack/update.go @@ -3,7 +3,7 @@ package openstack import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/papertrail/create.go b/pkg/commands/logging/papertrail/create.go index 11d45f900..eb691a97c 100644 --- a/pkg/commands/logging/papertrail/create.go +++ b/pkg/commands/logging/papertrail/create.go @@ -3,7 +3,7 @@ package papertrail import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/papertrail/delete.go b/pkg/commands/logging/papertrail/delete.go index 12678b627..5e931e10b 100644 --- a/pkg/commands/logging/papertrail/delete.go +++ b/pkg/commands/logging/papertrail/delete.go @@ -3,7 +3,7 @@ package papertrail import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/papertrail/describe.go b/pkg/commands/logging/papertrail/describe.go index 9198a3ac9..cf73218f1 100644 --- a/pkg/commands/logging/papertrail/describe.go +++ b/pkg/commands/logging/papertrail/describe.go @@ -3,7 +3,7 @@ package papertrail import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/papertrail/list.go b/pkg/commands/logging/papertrail/list.go index 3482b59ff..4239dbe3f 100644 --- a/pkg/commands/logging/papertrail/list.go +++ b/pkg/commands/logging/papertrail/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/papertrail/papertrail_integration_test.go b/pkg/commands/logging/papertrail/papertrail_integration_test.go index cc548f685..acfa5ccaf 100644 --- a/pkg/commands/logging/papertrail/papertrail_integration_test.go +++ b/pkg/commands/logging/papertrail/papertrail_integration_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/logging/papertrail/papertrail_test.go b/pkg/commands/logging/papertrail/papertrail_test.go index b677e1538..9c0195a1e 100644 --- a/pkg/commands/logging/papertrail/papertrail_test.go +++ b/pkg/commands/logging/papertrail/papertrail_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/logging/papertrail" diff --git a/pkg/commands/logging/papertrail/update.go b/pkg/commands/logging/papertrail/update.go index b4d5bc1e0..0fee6865f 100644 --- a/pkg/commands/logging/papertrail/update.go +++ b/pkg/commands/logging/papertrail/update.go @@ -3,7 +3,7 @@ package papertrail import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/s3/create.go b/pkg/commands/logging/s3/create.go index 1cea2f68f..259451660 100644 --- a/pkg/commands/logging/s3/create.go +++ b/pkg/commands/logging/s3/create.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/s3/delete.go b/pkg/commands/logging/s3/delete.go index 5be83493f..2d82b45e6 100644 --- a/pkg/commands/logging/s3/delete.go +++ b/pkg/commands/logging/s3/delete.go @@ -3,7 +3,7 @@ package s3 import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/s3/describe.go b/pkg/commands/logging/s3/describe.go index 3d19eb048..9b16ee1c9 100644 --- a/pkg/commands/logging/s3/describe.go +++ b/pkg/commands/logging/s3/describe.go @@ -3,7 +3,7 @@ package s3 import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/s3/list.go b/pkg/commands/logging/s3/list.go index f18e5d8d5..472b74cff 100644 --- a/pkg/commands/logging/s3/list.go +++ b/pkg/commands/logging/s3/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/s3/s3_integration_test.go b/pkg/commands/logging/s3/s3_integration_test.go index 0ec539fb1..6c47c54d9 100644 --- a/pkg/commands/logging/s3/s3_integration_test.go +++ b/pkg/commands/logging/s3/s3_integration_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/logging/s3/s3_test.go b/pkg/commands/logging/s3/s3_test.go index bb049d0e9..9630f2bcb 100644 --- a/pkg/commands/logging/s3/s3_test.go +++ b/pkg/commands/logging/s3/s3_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/logging/s3" diff --git a/pkg/commands/logging/s3/update.go b/pkg/commands/logging/s3/update.go index debb58b51..e51610859 100644 --- a/pkg/commands/logging/s3/update.go +++ b/pkg/commands/logging/s3/update.go @@ -3,7 +3,7 @@ package s3 import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/scalyr/create.go b/pkg/commands/logging/scalyr/create.go index 8ca1c2803..be0a12b38 100644 --- a/pkg/commands/logging/scalyr/create.go +++ b/pkg/commands/logging/scalyr/create.go @@ -3,7 +3,7 @@ package scalyr import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/scalyr/delete.go b/pkg/commands/logging/scalyr/delete.go index 302534a59..7b349af56 100644 --- a/pkg/commands/logging/scalyr/delete.go +++ b/pkg/commands/logging/scalyr/delete.go @@ -3,7 +3,7 @@ package scalyr import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/scalyr/describe.go b/pkg/commands/logging/scalyr/describe.go index c246a09c3..10f85c031 100644 --- a/pkg/commands/logging/scalyr/describe.go +++ b/pkg/commands/logging/scalyr/describe.go @@ -3,7 +3,7 @@ package scalyr import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/scalyr/list.go b/pkg/commands/logging/scalyr/list.go index 24c5e6d45..542518b74 100644 --- a/pkg/commands/logging/scalyr/list.go +++ b/pkg/commands/logging/scalyr/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/scalyr/scalyr_integration_test.go b/pkg/commands/logging/scalyr/scalyr_integration_test.go index 57e27e7e7..be1752106 100644 --- a/pkg/commands/logging/scalyr/scalyr_integration_test.go +++ b/pkg/commands/logging/scalyr/scalyr_integration_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/app" fsterrs "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/scalyr/scalyr_test.go b/pkg/commands/logging/scalyr/scalyr_test.go index 3f4df468f..643f4dc8c 100644 --- a/pkg/commands/logging/scalyr/scalyr_test.go +++ b/pkg/commands/logging/scalyr/scalyr_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/logging/scalyr" diff --git a/pkg/commands/logging/scalyr/update.go b/pkg/commands/logging/scalyr/update.go index 1705c4110..dce06ddef 100644 --- a/pkg/commands/logging/scalyr/update.go +++ b/pkg/commands/logging/scalyr/update.go @@ -3,7 +3,7 @@ package scalyr import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/sftp/create.go b/pkg/commands/logging/sftp/create.go index 40a61094d..02a1325e2 100644 --- a/pkg/commands/logging/sftp/create.go +++ b/pkg/commands/logging/sftp/create.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/sftp/delete.go b/pkg/commands/logging/sftp/delete.go index 7562aae53..087213dae 100644 --- a/pkg/commands/logging/sftp/delete.go +++ b/pkg/commands/logging/sftp/delete.go @@ -3,7 +3,7 @@ package sftp import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/sftp/describe.go b/pkg/commands/logging/sftp/describe.go index d52d5ce6a..dae6fe3fa 100644 --- a/pkg/commands/logging/sftp/describe.go +++ b/pkg/commands/logging/sftp/describe.go @@ -3,7 +3,7 @@ package sftp import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/sftp/list.go b/pkg/commands/logging/sftp/list.go index 733bba5bb..761a13924 100644 --- a/pkg/commands/logging/sftp/list.go +++ b/pkg/commands/logging/sftp/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/sftp/sftp_integration_test.go b/pkg/commands/logging/sftp/sftp_integration_test.go index 341f59258..e1a98e59a 100644 --- a/pkg/commands/logging/sftp/sftp_integration_test.go +++ b/pkg/commands/logging/sftp/sftp_integration_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/logging/sftp/sftp_test.go b/pkg/commands/logging/sftp/sftp_test.go index 02cc53935..f91ecebf2 100644 --- a/pkg/commands/logging/sftp/sftp_test.go +++ b/pkg/commands/logging/sftp/sftp_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/logging/sftp" diff --git a/pkg/commands/logging/sftp/update.go b/pkg/commands/logging/sftp/update.go index 32953e4c8..5a1ed9fb3 100644 --- a/pkg/commands/logging/sftp/update.go +++ b/pkg/commands/logging/sftp/update.go @@ -3,7 +3,7 @@ package sftp import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/splunk/create.go b/pkg/commands/logging/splunk/create.go index 49fa84029..5e419612c 100644 --- a/pkg/commands/logging/splunk/create.go +++ b/pkg/commands/logging/splunk/create.go @@ -3,7 +3,7 @@ package splunk import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/splunk/delete.go b/pkg/commands/logging/splunk/delete.go index 599fac1b9..c793c7026 100644 --- a/pkg/commands/logging/splunk/delete.go +++ b/pkg/commands/logging/splunk/delete.go @@ -3,7 +3,7 @@ package splunk import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/splunk/describe.go b/pkg/commands/logging/splunk/describe.go index de6a20b94..6054111d7 100644 --- a/pkg/commands/logging/splunk/describe.go +++ b/pkg/commands/logging/splunk/describe.go @@ -3,7 +3,7 @@ package splunk import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/splunk/list.go b/pkg/commands/logging/splunk/list.go index 7d9485a04..d9f64116e 100644 --- a/pkg/commands/logging/splunk/list.go +++ b/pkg/commands/logging/splunk/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/splunk/splunk_integration_test.go b/pkg/commands/logging/splunk/splunk_integration_test.go index cbea1dde9..931f212f1 100644 --- a/pkg/commands/logging/splunk/splunk_integration_test.go +++ b/pkg/commands/logging/splunk/splunk_integration_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/logging/splunk/splunk_test.go b/pkg/commands/logging/splunk/splunk_test.go index 1c4339113..9fd35ed3c 100644 --- a/pkg/commands/logging/splunk/splunk_test.go +++ b/pkg/commands/logging/splunk/splunk_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/logging/splunk" diff --git a/pkg/commands/logging/splunk/update.go b/pkg/commands/logging/splunk/update.go index 01efdde58..3090b929a 100644 --- a/pkg/commands/logging/splunk/update.go +++ b/pkg/commands/logging/splunk/update.go @@ -3,7 +3,7 @@ package splunk import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/sumologic/create.go b/pkg/commands/logging/sumologic/create.go index 8c74deca9..f4ac0f451 100644 --- a/pkg/commands/logging/sumologic/create.go +++ b/pkg/commands/logging/sumologic/create.go @@ -3,7 +3,7 @@ package sumologic import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/sumologic/delete.go b/pkg/commands/logging/sumologic/delete.go index c157b896b..a9d39f0f7 100644 --- a/pkg/commands/logging/sumologic/delete.go +++ b/pkg/commands/logging/sumologic/delete.go @@ -3,7 +3,7 @@ package sumologic import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/sumologic/describe.go b/pkg/commands/logging/sumologic/describe.go index 28fc10d93..5d2aa9da3 100644 --- a/pkg/commands/logging/sumologic/describe.go +++ b/pkg/commands/logging/sumologic/describe.go @@ -3,7 +3,7 @@ package sumologic import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/sumologic/list.go b/pkg/commands/logging/sumologic/list.go index c63a9c7b7..78df125e5 100644 --- a/pkg/commands/logging/sumologic/list.go +++ b/pkg/commands/logging/sumologic/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/sumologic/sumologic_integration_test.go b/pkg/commands/logging/sumologic/sumologic_integration_test.go index 597e59188..c6fed11e8 100644 --- a/pkg/commands/logging/sumologic/sumologic_integration_test.go +++ b/pkg/commands/logging/sumologic/sumologic_integration_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/logging/sumologic/sumologic_test.go b/pkg/commands/logging/sumologic/sumologic_test.go index fce5dfc3c..44657b28c 100644 --- a/pkg/commands/logging/sumologic/sumologic_test.go +++ b/pkg/commands/logging/sumologic/sumologic_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/logging/sumologic" diff --git a/pkg/commands/logging/sumologic/update.go b/pkg/commands/logging/sumologic/update.go index ba4096c69..d309dd6dd 100644 --- a/pkg/commands/logging/sumologic/update.go +++ b/pkg/commands/logging/sumologic/update.go @@ -3,7 +3,7 @@ package sumologic import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/syslog/create.go b/pkg/commands/logging/syslog/create.go index 5290edf17..550225b7e 100644 --- a/pkg/commands/logging/syslog/create.go +++ b/pkg/commands/logging/syslog/create.go @@ -3,7 +3,7 @@ package syslog import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/syslog/delete.go b/pkg/commands/logging/syslog/delete.go index a41733e86..7c62128f5 100644 --- a/pkg/commands/logging/syslog/delete.go +++ b/pkg/commands/logging/syslog/delete.go @@ -3,7 +3,7 @@ package syslog import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logging/syslog/describe.go b/pkg/commands/logging/syslog/describe.go index a32123124..0a65238cc 100644 --- a/pkg/commands/logging/syslog/describe.go +++ b/pkg/commands/logging/syslog/describe.go @@ -3,7 +3,7 @@ package syslog import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/syslog/list.go b/pkg/commands/logging/syslog/list.go index b53dd2fda..71eae7839 100644 --- a/pkg/commands/logging/syslog/list.go +++ b/pkg/commands/logging/syslog/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/logging/syslog/syslog_integration_test.go b/pkg/commands/logging/syslog/syslog_integration_test.go index 6b85b20cb..b9c840074 100644 --- a/pkg/commands/logging/syslog/syslog_integration_test.go +++ b/pkg/commands/logging/syslog/syslog_integration_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/logging/syslog/syslog_test.go b/pkg/commands/logging/syslog/syslog_test.go index 03772a93a..d9d2b114a 100644 --- a/pkg/commands/logging/syslog/syslog_test.go +++ b/pkg/commands/logging/syslog/syslog_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/commands/logging/syslog" diff --git a/pkg/commands/logging/syslog/update.go b/pkg/commands/logging/syslog/update.go index 3f7cce96e..139157bc7 100644 --- a/pkg/commands/logging/syslog/update.go +++ b/pkg/commands/logging/syslog/update.go @@ -3,7 +3,7 @@ package syslog import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/logtail/root.go b/pkg/commands/logtail/root.go index e40b2f87d..eeb52a057 100644 --- a/pkg/commands/logtail/root.go +++ b/pkg/commands/logtail/root.go @@ -17,7 +17,7 @@ import ( "syscall" "time" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/tomnomnom/linkheader" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/objectstorage/accesskeys/accesskeys_test.go b/pkg/commands/objectstorage/accesskeys/accesskeys_test.go index 3bea819ed..50710e0fb 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/v9/fastly/objectstorage/accesskeys" + "github.com/fastly/go-fastly/v10/fastly/objectstorage/accesskeys" ) const ( diff --git a/pkg/commands/objectstorage/accesskeys/create.go b/pkg/commands/objectstorage/accesskeys/create.go index 412fb60a2..591698de3 100644 --- a/pkg/commands/objectstorage/accesskeys/create.go +++ b/pkg/commands/objectstorage/accesskeys/create.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v9/fastly" - "github.com/fastly/go-fastly/v9/fastly/objectstorage/accesskeys" + "github.com/fastly/go-fastly/v10/fastly" + "github.com/fastly/go-fastly/v10/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 edb341886..25927491b 100644 --- a/pkg/commands/objectstorage/accesskeys/delete.go +++ b/pkg/commands/objectstorage/accesskeys/delete.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v9/fastly" - "github.com/fastly/go-fastly/v9/fastly/objectstorage/accesskeys" + "github.com/fastly/go-fastly/v10/fastly" + "github.com/fastly/go-fastly/v10/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 1536a6aa2..664a45001 100644 --- a/pkg/commands/objectstorage/accesskeys/get.go +++ b/pkg/commands/objectstorage/accesskeys/get.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "github.com/fastly/go-fastly/v9/fastly" - "github.com/fastly/go-fastly/v9/fastly/objectstorage/accesskeys" + "github.com/fastly/go-fastly/v10/fastly" + "github.com/fastly/go-fastly/v10/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 06e796069..c0303940f 100644 --- a/pkg/commands/objectstorage/accesskeys/list.go +++ b/pkg/commands/objectstorage/accesskeys/list.go @@ -8,8 +8,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/v9/fastly" - "github.com/fastly/go-fastly/v9/fastly/objectstorage/accesskeys" + "github.com/fastly/go-fastly/v10/fastly" + "github.com/fastly/go-fastly/v10/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 3f1f9f480..96f8016b6 100644 --- a/pkg/commands/pop/pop_test.go +++ b/pkg/commands/pop/pop_test.go @@ -5,7 +5,7 @@ import ( "io" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 97bffcd6d..c260df589 100644 --- a/pkg/commands/pop/root.go +++ b/pkg/commands/pop/root.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/products/products_test.go b/pkg/commands/products/products_test.go index 307d75cb6..09e14e81e 100644 --- a/pkg/commands/products/products_test.go +++ b/pkg/commands/products/products_test.go @@ -3,7 +3,7 @@ package products_test import ( "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" root "github.com/fastly/cli/pkg/commands/products" "github.com/fastly/cli/pkg/mock" diff --git a/pkg/commands/products/root.go b/pkg/commands/products/root.go index 5a25cf487..38192c99a 100644 --- a/pkg/commands/products/root.go +++ b/pkg/commands/products/root.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/profile/create.go b/pkg/commands/profile/create.go index 1707aacda..10bb1c64b 100644 --- a/pkg/commands/profile/create.go +++ b/pkg/commands/profile/create.go @@ -9,7 +9,7 @@ import ( "path/filepath" "strings" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/api" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/profile/profile_test.go b/pkg/commands/profile/profile_test.go index c998d3f0d..ab0999c88 100644 --- a/pkg/commands/profile/profile_test.go +++ b/pkg/commands/profile/profile_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" root "github.com/fastly/cli/pkg/commands/profile" "github.com/fastly/cli/pkg/config" diff --git a/pkg/commands/profile/update.go b/pkg/commands/profile/update.go index 30427623f..acc9278da 100644 --- a/pkg/commands/profile/update.go +++ b/pkg/commands/profile/update.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/api" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/purge/purge_test.go b/pkg/commands/purge/purge_test.go index 651676816..14b45174c 100644 --- a/pkg/commands/purge/purge_test.go +++ b/pkg/commands/purge/purge_test.go @@ -4,7 +4,7 @@ import ( "reflect" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" root "github.com/fastly/cli/pkg/commands/purge" "github.com/fastly/cli/pkg/mock" diff --git a/pkg/commands/purge/root.go b/pkg/commands/purge/root.go index 9d808693c..f43d03a22 100644 --- a/pkg/commands/purge/root.go +++ b/pkg/commands/purge/root.go @@ -8,7 +8,7 @@ import ( "path/filepath" "sort" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ratelimit/create.go b/pkg/commands/ratelimit/create.go index 228cdb1cb..61282bf08 100644 --- a/pkg/commands/ratelimit/create.go +++ b/pkg/commands/ratelimit/create.go @@ -6,7 +6,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/ratelimit/delete.go b/pkg/commands/ratelimit/delete.go index 674a17835..ef81d89a0 100644 --- a/pkg/commands/ratelimit/delete.go +++ b/pkg/commands/ratelimit/delete.go @@ -3,7 +3,7 @@ package ratelimit import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/ratelimit/describe.go b/pkg/commands/ratelimit/describe.go index 6544a1b5b..32816153d 100644 --- a/pkg/commands/ratelimit/describe.go +++ b/pkg/commands/ratelimit/describe.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ratelimit/list.go b/pkg/commands/ratelimit/list.go index 9ae294a9a..01bf22569 100644 --- a/pkg/commands/ratelimit/list.go +++ b/pkg/commands/ratelimit/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/ratelimit/ratelimit_test.go b/pkg/commands/ratelimit/ratelimit_test.go index b12d187a5..72a6f88b6 100644 --- a/pkg/commands/ratelimit/ratelimit_test.go +++ b/pkg/commands/ratelimit/ratelimit_test.go @@ -3,7 +3,7 @@ package ratelimit_test import ( "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" root "github.com/fastly/cli/pkg/commands/ratelimit" "github.com/fastly/cli/pkg/mock" diff --git a/pkg/commands/ratelimit/update.go b/pkg/commands/ratelimit/update.go index 3b85dffbf..ea8ed2b17 100644 --- a/pkg/commands/ratelimit/update.go +++ b/pkg/commands/ratelimit/update.go @@ -6,7 +6,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/resourcelink/create.go b/pkg/commands/resourcelink/create.go index b14a78f5f..c5ccdd474 100644 --- a/pkg/commands/resourcelink/create.go +++ b/pkg/commands/resourcelink/create.go @@ -3,7 +3,7 @@ package resourcelink import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/resourcelink/delete.go b/pkg/commands/resourcelink/delete.go index 4a21c6b40..9b0a3c85e 100644 --- a/pkg/commands/resourcelink/delete.go +++ b/pkg/commands/resourcelink/delete.go @@ -3,7 +3,7 @@ package resourcelink import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/resourcelink/describe.go b/pkg/commands/resourcelink/describe.go index d34fab236..614280462 100644 --- a/pkg/commands/resourcelink/describe.go +++ b/pkg/commands/resourcelink/describe.go @@ -3,7 +3,7 @@ package resourcelink import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/resourcelink/list.go b/pkg/commands/resourcelink/list.go index 3598c0ecf..eceec87bd 100644 --- a/pkg/commands/resourcelink/list.go +++ b/pkg/commands/resourcelink/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/resourcelink/resourcelink_test.go b/pkg/commands/resourcelink/resourcelink_test.go index ed73c08bb..54c3d1072 100644 --- a/pkg/commands/resourcelink/resourcelink_test.go +++ b/pkg/commands/resourcelink/resourcelink_test.go @@ -8,7 +8,7 @@ import ( "testing" "time" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/commands/resourcelink" diff --git a/pkg/commands/resourcelink/update.go b/pkg/commands/resourcelink/update.go index eef8e793e..7b9142e80 100644 --- a/pkg/commands/resourcelink/update.go +++ b/pkg/commands/resourcelink/update.go @@ -3,7 +3,7 @@ package resourcelink import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/secretstore/create.go b/pkg/commands/secretstore/create.go index 62a89ab73..2656d8a43 100644 --- a/pkg/commands/secretstore/create.go +++ b/pkg/commands/secretstore/create.go @@ -3,7 +3,7 @@ package secretstore import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 e5cb8ddb3..c831d7c86 100644 --- a/pkg/commands/secretstore/delete.go +++ b/pkg/commands/secretstore/delete.go @@ -3,7 +3,7 @@ package secretstore import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 0e24d0a82..11cf49382 100644 --- a/pkg/commands/secretstore/describe.go +++ b/pkg/commands/secretstore/describe.go @@ -3,7 +3,7 @@ package secretstore import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 0beee382d..fe70cf4bb 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/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/text" ) diff --git a/pkg/commands/secretstore/list.go b/pkg/commands/secretstore/list.go index e6e265423..5a3706676 100644 --- a/pkg/commands/secretstore/list.go +++ b/pkg/commands/secretstore/list.go @@ -3,7 +3,7 @@ package secretstore import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 b53389328..26c57c501 100644 --- a/pkg/commands/secretstore/secretstore_test.go +++ b/pkg/commands/secretstore/secretstore_test.go @@ -8,7 +8,7 @@ import ( "testing" "time" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 1068e5c46..9a7516a4f 100644 --- a/pkg/commands/secretstoreentry/create.go +++ b/pkg/commands/secretstoreentry/create.go @@ -9,7 +9,7 @@ import ( "net/http" "os" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 f37fd8b95..5aa039e39 100644 --- a/pkg/commands/secretstoreentry/delete.go +++ b/pkg/commands/secretstoreentry/delete.go @@ -3,7 +3,7 @@ package secretstoreentry import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 09319ee24..d6c478168 100644 --- a/pkg/commands/secretstoreentry/describe.go +++ b/pkg/commands/secretstoreentry/describe.go @@ -3,7 +3,7 @@ package secretstoreentry import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 79c9687a9..ff689394b 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/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" ) func fmtSecret(s *fastly.Secret) string { diff --git a/pkg/commands/secretstoreentry/list.go b/pkg/commands/secretstoreentry/list.go index c9105b949..ed29ad4e3 100644 --- a/pkg/commands/secretstoreentry/list.go +++ b/pkg/commands/secretstoreentry/list.go @@ -3,7 +3,7 @@ package secretstoreentry import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 dc779ecc8..07bb15cb7 100644 --- a/pkg/commands/secretstoreentry/secretstoreentry_test.go +++ b/pkg/commands/secretstoreentry/secretstoreentry_test.go @@ -15,7 +15,7 @@ import ( "testing" "time" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "golang.org/x/crypto/nacl/box" "github.com/fastly/cli/pkg/app" diff --git a/pkg/commands/service/create.go b/pkg/commands/service/create.go index c15acb681..7baea5fde 100644 --- a/pkg/commands/service/create.go +++ b/pkg/commands/service/create.go @@ -3,7 +3,7 @@ package service import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 5687fa312..a82a5f605 100644 --- a/pkg/commands/service/delete.go +++ b/pkg/commands/service/delete.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 01b41b7c6..d933b4550 100644 --- a/pkg/commands/service/describe.go +++ b/pkg/commands/service/describe.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 39c960b9f..3f6b08495 100644 --- a/pkg/commands/service/list.go +++ b/pkg/commands/service/list.go @@ -5,7 +5,7 @@ import ( "io" "strconv" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/service/search.go b/pkg/commands/service/search.go index 2209fd7bc..60b7f8612 100644 --- a/pkg/commands/service/search.go +++ b/pkg/commands/service/search.go @@ -3,7 +3,7 @@ package service import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 0758edfaf..e85e48aa6 100644 --- a/pkg/commands/service/service_test.go +++ b/pkg/commands/service/service_test.go @@ -11,7 +11,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/service/update.go b/pkg/commands/service/update.go index 3948ce91f..6d200c8f5 100644 --- a/pkg/commands/service/update.go +++ b/pkg/commands/service/update.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/serviceauth/create.go b/pkg/commands/serviceauth/create.go index f23a96eb1..706c85bda 100644 --- a/pkg/commands/serviceauth/create.go +++ b/pkg/commands/serviceauth/create.go @@ -3,7 +3,7 @@ package serviceauth import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/serviceauth/delete.go b/pkg/commands/serviceauth/delete.go index 50aedf1c0..3fe05e911 100644 --- a/pkg/commands/serviceauth/delete.go +++ b/pkg/commands/serviceauth/delete.go @@ -3,7 +3,7 @@ package serviceauth import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/serviceauth/describe.go b/pkg/commands/serviceauth/describe.go index c402f4637..052124a77 100644 --- a/pkg/commands/serviceauth/describe.go +++ b/pkg/commands/serviceauth/describe.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/serviceauth/list.go b/pkg/commands/serviceauth/list.go index 0e5e1a45c..52799b96d 100644 --- a/pkg/commands/serviceauth/list.go +++ b/pkg/commands/serviceauth/list.go @@ -9,7 +9,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/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" ) // ListCommand calls the Fastly API to list service authorizations. diff --git a/pkg/commands/serviceauth/service_test.go b/pkg/commands/serviceauth/service_test.go index 3f7af0d64..0c9c29e47 100644 --- a/pkg/commands/serviceauth/service_test.go +++ b/pkg/commands/serviceauth/service_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/serviceauth/update.go b/pkg/commands/serviceauth/update.go index 087733d71..f81e17d7d 100644 --- a/pkg/commands/serviceauth/update.go +++ b/pkg/commands/serviceauth/update.go @@ -3,7 +3,7 @@ package serviceauth import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/serviceversion/activate.go b/pkg/commands/serviceversion/activate.go index dc5deff39..8ec64028e 100644 --- a/pkg/commands/serviceversion/activate.go +++ b/pkg/commands/serviceversion/activate.go @@ -3,7 +3,7 @@ package serviceversion import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/serviceversion/clone.go b/pkg/commands/serviceversion/clone.go index 804d2177a..0c55d7ab4 100644 --- a/pkg/commands/serviceversion/clone.go +++ b/pkg/commands/serviceversion/clone.go @@ -3,7 +3,7 @@ package serviceversion import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/serviceversion/deactivate.go b/pkg/commands/serviceversion/deactivate.go index ccb919701..8d869736c 100644 --- a/pkg/commands/serviceversion/deactivate.go +++ b/pkg/commands/serviceversion/deactivate.go @@ -3,7 +3,7 @@ package serviceversion import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/serviceversion/list.go b/pkg/commands/serviceversion/list.go index 1ed1fe6a9..06bc10bdd 100644 --- a/pkg/commands/serviceversion/list.go +++ b/pkg/commands/serviceversion/list.go @@ -5,7 +5,7 @@ import ( "io" "time" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/serviceversion/lock.go b/pkg/commands/serviceversion/lock.go index 59819cce3..19f164aff 100644 --- a/pkg/commands/serviceversion/lock.go +++ b/pkg/commands/serviceversion/lock.go @@ -3,7 +3,7 @@ package serviceversion import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/serviceversion/serviceversion_test.go b/pkg/commands/serviceversion/serviceversion_test.go index 89e480e1e..42be1af46 100644 --- a/pkg/commands/serviceversion/serviceversion_test.go +++ b/pkg/commands/serviceversion/serviceversion_test.go @@ -4,7 +4,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" root "github.com/fastly/cli/pkg/commands/serviceversion" "github.com/fastly/cli/pkg/mock" diff --git a/pkg/commands/serviceversion/stage.go b/pkg/commands/serviceversion/stage.go index 62e998b6c..274e697ee 100644 --- a/pkg/commands/serviceversion/stage.go +++ b/pkg/commands/serviceversion/stage.go @@ -3,7 +3,7 @@ package serviceversion import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/serviceversion/unstage.go b/pkg/commands/serviceversion/unstage.go index 81ad69f11..b1c38f24f 100644 --- a/pkg/commands/serviceversion/unstage.go +++ b/pkg/commands/serviceversion/unstage.go @@ -3,7 +3,7 @@ package serviceversion import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/serviceversion/update.go b/pkg/commands/serviceversion/update.go index b3a71ef8f..30b62fd69 100644 --- a/pkg/commands/serviceversion/update.go +++ b/pkg/commands/serviceversion/update.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/sso/sso_test.go b/pkg/commands/sso/sso_test.go index b548b2aa8..ce2077290 100644 --- a/pkg/commands/sso/sso_test.go +++ b/pkg/commands/sso/sso_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/auth" "github.com/fastly/cli/pkg/config" diff --git a/pkg/commands/stats/historical.go b/pkg/commands/stats/historical.go index 3140b5cfa..1c02f6a3e 100644 --- a/pkg/commands/stats/historical.go +++ b/pkg/commands/stats/historical.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 85b205030..ef847cdea 100644 --- a/pkg/commands/stats/historical_test.go +++ b/pkg/commands/stats/historical_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 0a4c1f516..99a9c9c97 100644 --- a/pkg/commands/stats/realtime.go +++ b/pkg/commands/stats/realtime.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 8eeb3d5aa..76b02d16d 100644 --- a/pkg/commands/stats/regions_test.go +++ b/pkg/commands/stats/regions_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/app" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/stats/template.go b/pkg/commands/stats/template.go index 9d84697bc..7f6f46608 100644 --- a/pkg/commands/stats/template.go +++ b/pkg/commands/stats/template.go @@ -6,7 +6,7 @@ import ( "text/template" "time" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/mitchellh/mapstructure" ) diff --git a/pkg/commands/tls/config/config_test.go b/pkg/commands/tls/config/config_test.go index 2fc3ceca5..e7f3fa1a2 100644 --- a/pkg/commands/tls/config/config_test.go +++ b/pkg/commands/tls/config/config_test.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 1397da42e..ce6939125 100644 --- a/pkg/commands/tls/config/describe.go +++ b/pkg/commands/tls/config/describe.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 63f016026..7f8c4d751 100644 --- a/pkg/commands/tls/config/list.go +++ b/pkg/commands/tls/config/list.go @@ -5,7 +5,7 @@ import ( "io" "strings" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 4e780f894..e73046f6a 100644 --- a/pkg/commands/tls/config/update.go +++ b/pkg/commands/tls/config/update.go @@ -3,7 +3,7 @@ package config import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 2ad2c2d71..9eaab67af 100644 --- a/pkg/commands/tls/custom/activation/activation_test.go +++ b/pkg/commands/tls/custom/activation/activation_test.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 20c814fe6..374e1b27d 100644 --- a/pkg/commands/tls/custom/activation/create.go +++ b/pkg/commands/tls/custom/activation/create.go @@ -3,7 +3,7 @@ package activation import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 739bdb5ca..f79568bb6 100644 --- a/pkg/commands/tls/custom/activation/delete.go +++ b/pkg/commands/tls/custom/activation/delete.go @@ -3,7 +3,7 @@ package activation import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 c7ce4d1e9..9468c6d64 100644 --- a/pkg/commands/tls/custom/activation/describe.go +++ b/pkg/commands/tls/custom/activation/describe.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 ca61c627a..83ca257e4 100644 --- a/pkg/commands/tls/custom/activation/list.go +++ b/pkg/commands/tls/custom/activation/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 68e15df99..5a496c4ac 100644 --- a/pkg/commands/tls/custom/activation/update.go +++ b/pkg/commands/tls/custom/activation/update.go @@ -3,7 +3,7 @@ package activation import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 c3b7874ae..e779d4f4b 100644 --- a/pkg/commands/tls/custom/certificate/certificate_test.go +++ b/pkg/commands/tls/custom/certificate/certificate_test.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 8fd2a5807..9a3c3b6b9 100644 --- a/pkg/commands/tls/custom/certificate/create.go +++ b/pkg/commands/tls/custom/certificate/create.go @@ -6,7 +6,7 @@ import ( "os" "path/filepath" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 b69dacfb4..14b255b94 100644 --- a/pkg/commands/tls/custom/certificate/delete.go +++ b/pkg/commands/tls/custom/certificate/delete.go @@ -3,7 +3,7 @@ package certificate import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 ee45d719e..637c1b449 100644 --- a/pkg/commands/tls/custom/certificate/describe.go +++ b/pkg/commands/tls/custom/certificate/describe.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 7627fb6e1..c6587568c 100644 --- a/pkg/commands/tls/custom/certificate/list.go +++ b/pkg/commands/tls/custom/certificate/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 31a3b463f..6ec0ebdff 100644 --- a/pkg/commands/tls/custom/certificate/update.go +++ b/pkg/commands/tls/custom/certificate/update.go @@ -6,7 +6,7 @@ import ( "os" "path/filepath" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 19403d695..d7bf3ab1b 100644 --- a/pkg/commands/tls/custom/domain/domain_test.go +++ b/pkg/commands/tls/custom/domain/domain_test.go @@ -3,7 +3,7 @@ package domain_test import ( "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 d83862325..1f1d9c955 100644 --- a/pkg/commands/tls/custom/domain/list.go +++ b/pkg/commands/tls/custom/domain/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 d976deb1b..52a385d5c 100644 --- a/pkg/commands/tls/custom/privatekey/create.go +++ b/pkg/commands/tls/custom/privatekey/create.go @@ -6,7 +6,7 @@ import ( "os" "path/filepath" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 0af175b5e..1e0e6bbda 100644 --- a/pkg/commands/tls/custom/privatekey/delete.go +++ b/pkg/commands/tls/custom/privatekey/delete.go @@ -3,7 +3,7 @@ package privatekey import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 e5957a427..b38a4b4e5 100644 --- a/pkg/commands/tls/custom/privatekey/describe.go +++ b/pkg/commands/tls/custom/privatekey/describe.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 be09830e9..56f912ac4 100644 --- a/pkg/commands/tls/custom/privatekey/list.go +++ b/pkg/commands/tls/custom/privatekey/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 05dac5914..585f864fc 100644 --- a/pkg/commands/tls/custom/privatekey/privatekey_test.go +++ b/pkg/commands/tls/custom/privatekey/privatekey_test.go @@ -3,7 +3,7 @@ package privatekey_test import ( "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 1e131c393..47492d2ab 100644 --- a/pkg/commands/tls/platform/create.go +++ b/pkg/commands/tls/platform/create.go @@ -3,7 +3,7 @@ package platform import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 be8ff3500..1bf5502c5 100644 --- a/pkg/commands/tls/platform/delete.go +++ b/pkg/commands/tls/platform/delete.go @@ -3,7 +3,7 @@ package platform import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 370c9b16b..bf359e108 100644 --- a/pkg/commands/tls/platform/describe.go +++ b/pkg/commands/tls/platform/describe.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 0ea8454e7..f01c80128 100644 --- a/pkg/commands/tls/platform/list.go +++ b/pkg/commands/tls/platform/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 a20385c10..390ca9858 100644 --- a/pkg/commands/tls/platform/platform_test.go +++ b/pkg/commands/tls/platform/platform_test.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 581835d7e..0ab8a134c 100644 --- a/pkg/commands/tls/platform/update.go +++ b/pkg/commands/tls/platform/update.go @@ -3,7 +3,7 @@ package platform import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 52c903abe..4b7dc246b 100644 --- a/pkg/commands/tls/subscription/create.go +++ b/pkg/commands/tls/subscription/create.go @@ -3,7 +3,7 @@ package subscription import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 bc7d676f1..787d9fb98 100644 --- a/pkg/commands/tls/subscription/delete.go +++ b/pkg/commands/tls/subscription/delete.go @@ -3,7 +3,7 @@ package subscription import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 6b2209fc1..c5ed37d39 100644 --- a/pkg/commands/tls/subscription/describe.go +++ b/pkg/commands/tls/subscription/describe.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 cae34e60b..ca5768015 100644 --- a/pkg/commands/tls/subscription/list.go +++ b/pkg/commands/tls/subscription/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 019a39297..db687b084 100644 --- a/pkg/commands/tls/subscription/subscription_test.go +++ b/pkg/commands/tls/subscription/subscription_test.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 c3842f529..c95d4e2f9 100644 --- a/pkg/commands/tls/subscription/update.go +++ b/pkg/commands/tls/subscription/update.go @@ -3,7 +3,7 @@ package subscription import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/global" diff --git a/pkg/commands/user/create.go b/pkg/commands/user/create.go index 1f81c8d44..5d9527570 100644 --- a/pkg/commands/user/create.go +++ b/pkg/commands/user/create.go @@ -3,7 +3,7 @@ package user import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 fa583711f..c713304ec 100644 --- a/pkg/commands/user/delete.go +++ b/pkg/commands/user/delete.go @@ -3,7 +3,7 @@ package user import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 4ce22c3c5..bf0e3e48f 100644 --- a/pkg/commands/user/describe.go +++ b/pkg/commands/user/describe.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 ada356b9d..b18e1640f 100644 --- a/pkg/commands/user/list.go +++ b/pkg/commands/user/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 e590d6142..d5b951711 100644 --- a/pkg/commands/user/update.go +++ b/pkg/commands/user/update.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 a032d78a7..2b53660e2 100644 --- a/pkg/commands/user/user_test.go +++ b/pkg/commands/user/user_test.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" root "github.com/fastly/cli/pkg/commands/user" "github.com/fastly/cli/pkg/mock" diff --git a/pkg/commands/vcl/condition/condition_test.go b/pkg/commands/vcl/condition/condition_test.go index cdec807a1..93b8553a6 100644 --- a/pkg/commands/vcl/condition/condition_test.go +++ b/pkg/commands/vcl/condition/condition_test.go @@ -5,7 +5,7 @@ import ( "strings" "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" root "github.com/fastly/cli/pkg/commands/vcl" sub "github.com/fastly/cli/pkg/commands/vcl/condition" diff --git a/pkg/commands/vcl/condition/create.go b/pkg/commands/vcl/condition/create.go index bd8891613..df09f0426 100644 --- a/pkg/commands/vcl/condition/create.go +++ b/pkg/commands/vcl/condition/create.go @@ -3,7 +3,7 @@ package condition import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/vcl/condition/delete.go b/pkg/commands/vcl/condition/delete.go index eba778f5f..e74528fb8 100644 --- a/pkg/commands/vcl/condition/delete.go +++ b/pkg/commands/vcl/condition/delete.go @@ -3,7 +3,7 @@ package condition import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/vcl/condition/describe.go b/pkg/commands/vcl/condition/describe.go index 4dcf0115d..fa2738a41 100644 --- a/pkg/commands/vcl/condition/describe.go +++ b/pkg/commands/vcl/condition/describe.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/vcl/condition/list.go b/pkg/commands/vcl/condition/list.go index 1a7fc94c7..9133f1293 100644 --- a/pkg/commands/vcl/condition/list.go +++ b/pkg/commands/vcl/condition/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/vcl/condition/update.go b/pkg/commands/vcl/condition/update.go index 569ef7535..defa988d0 100644 --- a/pkg/commands/vcl/condition/update.go +++ b/pkg/commands/vcl/condition/update.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/vcl/custom/create.go b/pkg/commands/vcl/custom/create.go index 355d7a6c3..dfd006ffe 100644 --- a/pkg/commands/vcl/custom/create.go +++ b/pkg/commands/vcl/custom/create.go @@ -3,7 +3,7 @@ package custom import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/vcl/custom/custom_test.go b/pkg/commands/vcl/custom/custom_test.go index ab9219288..1cbc33443 100644 --- a/pkg/commands/vcl/custom/custom_test.go +++ b/pkg/commands/vcl/custom/custom_test.go @@ -3,7 +3,7 @@ package custom_test import ( "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" root "github.com/fastly/cli/pkg/commands/vcl" sub "github.com/fastly/cli/pkg/commands/vcl/custom" diff --git a/pkg/commands/vcl/custom/delete.go b/pkg/commands/vcl/custom/delete.go index 35aa5f886..4147f4902 100644 --- a/pkg/commands/vcl/custom/delete.go +++ b/pkg/commands/vcl/custom/delete.go @@ -3,7 +3,7 @@ package custom import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/vcl/custom/describe.go b/pkg/commands/vcl/custom/describe.go index a404e7213..dafa976c9 100644 --- a/pkg/commands/vcl/custom/describe.go +++ b/pkg/commands/vcl/custom/describe.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/vcl/custom/list.go b/pkg/commands/vcl/custom/list.go index da105c7e8..d8ac4f8cb 100644 --- a/pkg/commands/vcl/custom/list.go +++ b/pkg/commands/vcl/custom/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/vcl/custom/update.go b/pkg/commands/vcl/custom/update.go index ad714dbd7..9c65ff033 100644 --- a/pkg/commands/vcl/custom/update.go +++ b/pkg/commands/vcl/custom/update.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/vcl/snippet/create.go b/pkg/commands/vcl/snippet/create.go index d71400df9..1be73e888 100644 --- a/pkg/commands/vcl/snippet/create.go +++ b/pkg/commands/vcl/snippet/create.go @@ -3,7 +3,7 @@ package snippet import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/vcl/snippet/delete.go b/pkg/commands/vcl/snippet/delete.go index 1a7bf5d61..416f0308c 100644 --- a/pkg/commands/vcl/snippet/delete.go +++ b/pkg/commands/vcl/snippet/delete.go @@ -3,7 +3,7 @@ package snippet import ( "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/vcl/snippet/describe.go b/pkg/commands/vcl/snippet/describe.go index 77879cb99..c96abe2c4 100644 --- a/pkg/commands/vcl/snippet/describe.go +++ b/pkg/commands/vcl/snippet/describe.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/vcl/snippet/list.go b/pkg/commands/vcl/snippet/list.go index 9562509c4..9946ca872 100644 --- a/pkg/commands/vcl/snippet/list.go +++ b/pkg/commands/vcl/snippet/list.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" fsterr "github.com/fastly/cli/pkg/errors" diff --git a/pkg/commands/vcl/snippet/snippet_test.go b/pkg/commands/vcl/snippet/snippet_test.go index 259dd918e..faad1c4ed 100644 --- a/pkg/commands/vcl/snippet/snippet_test.go +++ b/pkg/commands/vcl/snippet/snippet_test.go @@ -3,7 +3,7 @@ package snippet_test import ( "testing" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" root "github.com/fastly/cli/pkg/commands/vcl" sub "github.com/fastly/cli/pkg/commands/vcl/snippet" diff --git a/pkg/commands/vcl/snippet/update.go b/pkg/commands/vcl/snippet/update.go index 443bb98a8..60d74e97f 100644 --- a/pkg/commands/vcl/snippet/update.go +++ b/pkg/commands/vcl/snippet/update.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "4d63.com/optional" "github.com/fastly/cli/pkg/argparser" diff --git a/pkg/commands/version/root.go b/pkg/commands/version/root.go index 469a935c4..1e30a2868 100644 --- a/pkg/commands/version/root.go +++ b/pkg/commands/version/root.go @@ -8,7 +8,7 @@ import ( "strings" "time" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/argparser" "github.com/fastly/cli/pkg/github" diff --git a/pkg/errors/deduce.go b/pkg/errors/deduce.go index 6eed7fd82..211366855 100644 --- a/pkg/errors/deduce.go +++ b/pkg/errors/deduce.go @@ -7,7 +7,7 @@ import ( "os" "strings" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" ) // Deduce attempts to deduce a RemediationError from a plain error. If the error diff --git a/pkg/errors/deduce_test.go b/pkg/errors/deduce_test.go index c65bfafce..3f1064a1f 100644 --- a/pkg/errors/deduce_test.go +++ b/pkg/errors/deduce_test.go @@ -8,7 +8,7 @@ import ( "github.com/fastly/cli/pkg/errors" "github.com/fastly/cli/pkg/testutil" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" ) func TestDeduce(t *testing.T) { diff --git a/pkg/errors/log.go b/pkg/errors/log.go index 7f455cb52..e40d98c1c 100644 --- a/pkg/errors/log.go +++ b/pkg/errors/log.go @@ -11,7 +11,7 @@ import ( "text/template" "time" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" ) // LogPath is the location of the fastly CLI error log. diff --git a/pkg/mock/api.go b/pkg/mock/api.go index 4633c4b95..0f584e3c3 100644 --- a/pkg/mock/api.go +++ b/pkg/mock/api.go @@ -3,7 +3,7 @@ package mock import ( "crypto/ed25519" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 d627409ce..a36de8476 100644 --- a/pkg/mock/client.go +++ b/pkg/mock/client.go @@ -7,7 +7,7 @@ import ( "io" "net/http" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/api" ) diff --git a/pkg/testutil/api.go b/pkg/testutil/api.go index 9d882138b..9b2991cdf 100644 --- a/pkg/testutil/api.go +++ b/pkg/testutil/api.go @@ -6,7 +6,7 @@ import ( "net/http" "net/http/httptest" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/commands/sso" "github.com/fastly/cli/pkg/commands/whoami" diff --git a/pkg/testutil/paginator.go b/pkg/testutil/paginator.go index 82a9eef60..d6dbc05d3 100644 --- a/pkg/testutil/paginator.go +++ b/pkg/testutil/paginator.go @@ -1,7 +1,7 @@ package testutil import ( - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" ) // ServicesPaginator mocks the behaviour of a paginator for services. diff --git a/pkg/testutil/scenarios.go b/pkg/testutil/scenarios.go index 55cca8b45..3efc61fbb 100644 --- a/pkg/testutil/scenarios.go +++ b/pkg/testutil/scenarios.go @@ -10,7 +10,7 @@ import ( "testing" "time" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/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 023701333..779342006 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/v9/fastly/objectstorage/accesskeys" + "github.com/fastly/go-fastly/v10/fastly/objectstorage/accesskeys" ) // PrintAccessKey displays an access key. diff --git a/pkg/text/backend.go b/pkg/text/backend.go index d985070af..6647b48eb 100644 --- a/pkg/text/backend.go +++ b/pkg/text/backend.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/segmentio/textio" ) diff --git a/pkg/text/computeacl.go b/pkg/text/computeacl.go index 4fec32cbd..7db84464c 100644 --- a/pkg/text/computeacl.go +++ b/pkg/text/computeacl.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly/computeacls" + "github.com/fastly/go-fastly/v10/fastly/computeacls" "github.com/segmentio/textio" ) diff --git a/pkg/text/configstore.go b/pkg/text/configstore.go index 8bb03f0bc..cfbed7903 100644 --- a/pkg/text/configstore.go +++ b/pkg/text/configstore.go @@ -6,7 +6,7 @@ import ( "strconv" "time" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/segmentio/textio" fsttime "github.com/fastly/cli/pkg/time" diff --git a/pkg/text/dictionary.go b/pkg/text/dictionary.go index 15f07cc25..3e739235e 100644 --- a/pkg/text/dictionary.go +++ b/pkg/text/dictionary.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/segmentio/textio" "github.com/fastly/cli/pkg/time" diff --git a/pkg/text/dictionaryitem.go b/pkg/text/dictionaryitem.go index 6c16514a6..8e90c38de 100644 --- a/pkg/text/dictionaryitem.go +++ b/pkg/text/dictionaryitem.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/segmentio/textio" "github.com/fastly/cli/pkg/time" diff --git a/pkg/text/dictionaryitem_test.go b/pkg/text/dictionaryitem_test.go index 94f7aaddf..1dfe9b41f 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/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" ) func TestPrintDictionaryItem(t *testing.T) { diff --git a/pkg/text/healthcheck.go b/pkg/text/healthcheck.go index f6766e7e8..e898b8f5c 100644 --- a/pkg/text/healthcheck.go +++ b/pkg/text/healthcheck.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/segmentio/textio" ) diff --git a/pkg/text/kvstore.go b/pkg/text/kvstore.go index e8b6d64b0..7f3ae13fd 100644 --- a/pkg/text/kvstore.go +++ b/pkg/text/kvstore.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/segmentio/textio" "github.com/fastly/cli/pkg/time" diff --git a/pkg/text/resource.go b/pkg/text/resource.go index 75326cde4..36fc9d0b9 100644 --- a/pkg/text/resource.go +++ b/pkg/text/resource.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/segmentio/textio" "github.com/fastly/cli/pkg/time" diff --git a/pkg/text/secretstore.go b/pkg/text/secretstore.go index ce9441808..53be13fb8 100644 --- a/pkg/text/secretstore.go +++ b/pkg/text/secretstore.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/segmentio/textio" ) diff --git a/pkg/text/service.go b/pkg/text/service.go index 261cd80fd..136f2bc0d 100644 --- a/pkg/text/service.go +++ b/pkg/text/service.go @@ -5,7 +5,7 @@ import ( "io" "regexp" - "github.com/fastly/go-fastly/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/segmentio/textio" "github.com/fastly/cli/pkg/time" diff --git a/pkg/text/service_test.go b/pkg/text/service_test.go index d5a4db047..32f4ca136 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/v9/fastly" + "github.com/fastly/go-fastly/v10/fastly" "github.com/fastly/cli/pkg/testutil" "github.com/fastly/cli/pkg/text" From b89da127c7ce6a305fb727969277e5eb3ffe944d Mon Sep 17 00:00:00 2001 From: Anthony Gomez Date: Thu, 3 Apr 2025 09:16:52 -0400 Subject: [PATCH 2/5] changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f9c9a6502..c0ee90609 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ ### Bug fixes: ### Dependencies: +- dep(go.mod): upgrade go-fastly from v9 to v10 [#1448](https://github.com/fastly/cli/pull/1448) ## [v11.1.0](https://github.com/fastly/cli/releases/tag/v11.1.0) (2025-03-27) From 6dc576126585681dfb12271dc6451c189b200d5a Mon Sep 17 00:00:00 2001 From: Anthony Gomez Date: Thu, 3 Apr 2025 09:24:16 -0400 Subject: [PATCH 3/5] fix tests --- pkg/commands/pop/pop_test.go | 10 +++++----- pkg/commands/pop/root.go | 4 ++-- pkg/commands/sso/sso_test.go | 22 +++++++++++----------- pkg/commands/vcl/snippet/create.go | 4 ++-- pkg/commands/vcl/snippet/describe.go | 2 +- pkg/commands/vcl/snippet/list.go | 2 +- pkg/commands/vcl/snippet/snippet_test.go | 8 ++++---- pkg/commands/vcl/snippet/update.go | 4 ++-- 8 files changed, 28 insertions(+), 28 deletions(-) diff --git a/pkg/commands/pop/pop_test.go b/pkg/commands/pop/pop_test.go index 96f8016b6..814b93766 100644 --- a/pkg/commands/pop/pop_test.go +++ b/pkg/commands/pop/pop_test.go @@ -25,10 +25,10 @@ func TestAllDatacenters(t *testing.T) { Group: fastly.ToPointer("Bar"), Shield: fastly.ToPointer("Baz"), Coordinates: &fastly.Coordinates{ - Latitude: fastly.ToPointer(float64(1)), - Longtitude: fastly.ToPointer(float64(2)), - X: fastly.ToPointer(float64(3)), - Y: fastly.ToPointer(float64(4)), + Latitude: fastly.ToPointer(float64(1)), + Longitude: fastly.ToPointer(float64(2)), + X: fastly.ToPointer(float64(3)), + Y: fastly.ToPointer(float64(4)), }, }, }, nil @@ -41,5 +41,5 @@ func TestAllDatacenters(t *testing.T) { } err := app.Run(args, nil) testutil.AssertNoError(t, err) - testutil.AssertString(t, "\nNAME CODE GROUP SHIELD COORDINATES\nFoobar FBR Bar Baz {Latitude:1 Longtitude:2 X:3 Y:4}\n", stdout.String()) + testutil.AssertString(t, "\nNAME CODE GROUP SHIELD COORDINATES\nFoobar FBR Bar Baz {Latitude:1 Longitude:2 X:3 Y:4}\n", stdout.String()) } diff --git a/pkg/commands/pop/root.go b/pkg/commands/pop/root.go index c260df589..0f0ceab09 100644 --- a/pkg/commands/pop/root.go +++ b/pkg/commands/pop/root.go @@ -56,9 +56,9 @@ func (c *RootCommand) Exec(_ io.Reader, out io.Writer) error { func Coordinates(c *fastly.Coordinates) string { if c != nil { return fmt.Sprintf( - `{Latitude:%v Longtitude:%v X:%v Y:%v}`, + `{Latitude:%v Longitude:%v X:%v Y:%v}`, fastly.ToValue(c.Latitude), - fastly.ToValue(c.Longtitude), + fastly.ToValue(c.Longitude), fastly.ToValue(c.X), fastly.ToValue(c.Y), ) diff --git a/pkg/commands/sso/sso_test.go b/pkg/commands/sso/sso_test.go index ce2077290..9a68bb55d 100644 --- a/pkg/commands/sso/sso_test.go +++ b/pkg/commands/sso/sso_test.go @@ -165,10 +165,10 @@ func TestSSO(t *testing.T) { Group: fastly.ToPointer("Bar"), Shield: fastly.ToPointer("Baz"), Coordinates: &fastly.Coordinates{ - Latitude: fastly.ToPointer(float64(1)), - Longtitude: fastly.ToPointer(float64(2)), - X: fastly.ToPointer(float64(3)), - Y: fastly.ToPointer(float64(4)), + Latitude: fastly.ToPointer(float64(1)), + Longitude: fastly.ToPointer(float64(2)), + X: fastly.ToPointer(float64(3)), + Y: fastly.ToPointer(float64(4)), }, }, }, nil @@ -189,7 +189,7 @@ func TestSSO(t *testing.T) { WantOutputs: []string{ // FIXME: Put back messaging once SSO is GA. // "is not a Fastly SSO (Single Sign-On) generated token", - "{Latitude:1 Longtitude:2 X:3 Y:4}", + "{Latitude:1 Longitude:2 X:3 Y:4}", }, Validator: func(t *testing.T, scenario *testutil.CLIScenario, opts *global.Data, stdout *threadsafe.Buffer) { const expectedToken = "mock-token" @@ -220,7 +220,7 @@ func TestSSO(t *testing.T) { opts.HTTPClient = testutil.CurrentCustomerClient(testutil.CurrentCustomerResponse) }, WantOutput: "Your access token has expired and so has your refresh token.", - DontWantOutput: "{Latitude:1 Longtitude:2 X:3 Y:4}", + DontWantOutput: "{Latitude:1 Longitude:2 X:3 Y:4}", Validator: func(t *testing.T, scenario *testutil.CLIScenario, opts *global.Data, stdout *threadsafe.Buffer) { const expectedToken = "mock-token" userProfile := opts.Config.Profiles["user"] @@ -243,10 +243,10 @@ func TestSSO(t *testing.T) { Group: fastly.ToPointer("Bar"), Shield: fastly.ToPointer("Baz"), Coordinates: &fastly.Coordinates{ - Latitude: fastly.ToPointer(float64(1)), - Longtitude: fastly.ToPointer(float64(2)), - X: fastly.ToPointer(float64(3)), - Y: fastly.ToPointer(float64(4)), + Latitude: fastly.ToPointer(float64(1)), + Longitude: fastly.ToPointer(float64(2)), + X: fastly.ToPointer(float64(3)), + Y: fastly.ToPointer(float64(4)), }, }, }, nil @@ -281,7 +281,7 @@ func TestSSO(t *testing.T) { "Your access token has expired and so has your refresh token.", "Starting a local server to handle the authentication flow.", "Session token (persisted to your local configuration): 123", - "{Latitude:1 Longtitude:2 X:3 Y:4}", + "{Latitude:1 Longitude:2 X:3 Y:4}", }, Validator: func(t *testing.T, scenario *testutil.CLIScenario, opts *global.Data, stdout *threadsafe.Buffer) { const expectedToken = "123" diff --git a/pkg/commands/vcl/snippet/create.go b/pkg/commands/vcl/snippet/create.go index 1be73e888..d8b9a5c55 100644 --- a/pkg/commands/vcl/snippet/create.go +++ b/pkg/commands/vcl/snippet/create.go @@ -40,7 +40,7 @@ func NewCreateCommand(parent argparser.Registerer, g *global.Data) *CreateComman c.CmdClause.Flag("content", "VCL snippet passed as file path or content, e.g. $(< snippet.vcl)").Action(c.content.Set).StringVar(&c.content.Value) c.CmdClause.Flag("dynamic", "Whether the VCL snippet is dynamic or versioned").Action(c.dynamic.Set).BoolVar(&c.dynamic.Value) c.CmdClause.Flag("name", "The name of the VCL snippet").Action(c.name.Set).StringVar(&c.name.Value) - c.CmdClause.Flag("priority", "Priority determines execution order. Lower numbers execute first").Short('p').Action(c.priority.Set).IntVar(&c.priority.Value) + c.CmdClause.Flag("priority", "Priority determines execution order. Lower numbers execute first").Short('p').Action(c.priority.Set).StringVar(&c.priority.Value) c.RegisterFlag(argparser.StringFlagOpts{ Name: argparser.FlagServiceIDName, @@ -68,7 +68,7 @@ type CreateCommand struct { dynamic argparser.OptionalBool location argparser.OptionalString name argparser.OptionalString - priority argparser.OptionalInt + priority argparser.OptionalString serviceName argparser.OptionalServiceNameID serviceVersion argparser.OptionalServiceVersion } diff --git a/pkg/commands/vcl/snippet/describe.go b/pkg/commands/vcl/snippet/describe.go index c96abe2c4..6a4841cda 100644 --- a/pkg/commands/vcl/snippet/describe.go +++ b/pkg/commands/vcl/snippet/describe.go @@ -187,7 +187,7 @@ func (c *DescribeCommand) print(out io.Writer, s *fastly.Snippet) error { fmt.Fprintf(out, "Service Version: %d\n", fastly.ToValue(s.ServiceVersion)) fmt.Fprintf(out, "\nName: %s\n", fastly.ToValue(s.Name)) fmt.Fprintf(out, "ID: %s\n", fastly.ToValue(s.SnippetID)) - fmt.Fprintf(out, "Priority: %d\n", fastly.ToValue(s.Priority)) + fmt.Fprintf(out, "Priority: %s\n", fastly.ToValue(s.Priority)) fmt.Fprintf(out, "Dynamic: %t\n", argparser.IntToBool(fastly.ToValue(s.Dynamic))) fmt.Fprintf(out, "Type: %s\n", fastly.ToValue(s.Type)) fmt.Fprintf(out, "Content: \n%s\n", fastly.ToValue(s.Content)) diff --git a/pkg/commands/vcl/snippet/list.go b/pkg/commands/vcl/snippet/list.go index 9946ca872..35e83a66f 100644 --- a/pkg/commands/vcl/snippet/list.go +++ b/pkg/commands/vcl/snippet/list.go @@ -123,7 +123,7 @@ func (c *ListCommand) printVerbose(out io.Writer, serviceVersion int, vs []*fast fmt.Fprintf(out, "\n") fmt.Fprintf(out, "Name: %s\n", fastly.ToValue(v.Name)) fmt.Fprintf(out, "ID: %s\n", fastly.ToValue(v.SnippetID)) - fmt.Fprintf(out, "Priority: %d\n", fastly.ToValue(v.Priority)) + fmt.Fprintf(out, "Priority: %s\n", fastly.ToValue(v.Priority)) fmt.Fprintf(out, "Dynamic: %t\n", argparser.IntToBool(fastly.ToValue(v.Dynamic))) fmt.Fprintf(out, "Type: %s\n", fastly.ToValue(v.Type)) fmt.Fprintf(out, "Content: \n%s\n", fastly.ToValue(v.Content)) diff --git a/pkg/commands/vcl/snippet/snippet_test.go b/pkg/commands/vcl/snippet/snippet_test.go index faad1c4ed..2202bf80e 100644 --- a/pkg/commands/vcl/snippet/snippet_test.go +++ b/pkg/commands/vcl/snippet/snippet_test.go @@ -481,7 +481,7 @@ func TestVCLSnippetUpdate(t *testing.T) { return &fastly.Snippet{ Content: i.Content, Name: i.NewName, - Priority: fastly.ToPointer(100), + Priority: fastly.ToPointer("100"), ServiceID: fastly.ToPointer(i.ServiceID), ServiceVersion: fastly.ToPointer(i.ServiceVersion), Type: i.Type, @@ -547,7 +547,7 @@ func getSnippet(i *fastly.GetSnippetInput) (*fastly.Snippet, error) { Dynamic: fastly.ToPointer(0), SnippetID: fastly.ToPointer("456"), Name: fastly.ToPointer(i.Name), - Priority: fastly.ToPointer(0), + Priority: fastly.ToPointer("0"), ServiceID: fastly.ToPointer(i.ServiceID), ServiceVersion: fastly.ToPointer(i.ServiceVersion), Type: fastly.ToPointer(fastly.SnippetTypeRecv), @@ -579,7 +579,7 @@ func listSnippets(i *fastly.ListSnippetsInput) ([]*fastly.Snippet, error) { Dynamic: fastly.ToPointer(1), SnippetID: fastly.ToPointer("abc"), Name: fastly.ToPointer("foo"), - Priority: fastly.ToPointer(0), + Priority: fastly.ToPointer("0"), ServiceID: fastly.ToPointer(i.ServiceID), ServiceVersion: fastly.ToPointer(i.ServiceVersion), Type: fastly.ToPointer(fastly.SnippetTypeRecv), @@ -593,7 +593,7 @@ func listSnippets(i *fastly.ListSnippetsInput) ([]*fastly.Snippet, error) { Dynamic: fastly.ToPointer(0), SnippetID: fastly.ToPointer("abc"), Name: fastly.ToPointer("bar"), - Priority: fastly.ToPointer(0), + Priority: fastly.ToPointer("0"), ServiceID: fastly.ToPointer(i.ServiceID), ServiceVersion: fastly.ToPointer(i.ServiceVersion), Type: fastly.ToPointer(fastly.SnippetTypeRecv), diff --git a/pkg/commands/vcl/snippet/update.go b/pkg/commands/vcl/snippet/update.go index 60d74e97f..10f661a23 100644 --- a/pkg/commands/vcl/snippet/update.go +++ b/pkg/commands/vcl/snippet/update.go @@ -39,7 +39,7 @@ func NewUpdateCommand(parent argparser.Registerer, g *global.Data) *UpdateComman c.CmdClause.Flag("dynamic", "Whether the VCL snippet is dynamic or versioned").Action(c.dynamic.Set).BoolVar(&c.dynamic.Value) c.CmdClause.Flag("name", "The name of the VCL snippet to update").StringVar(&c.name) c.CmdClause.Flag("new-name", "New name for the VCL snippet").Action(c.newName.Set).StringVar(&c.newName.Value) - c.CmdClause.Flag("priority", "Priority determines execution order. Lower numbers execute first").Short('p').Action(c.priority.Set).IntVar(&c.priority.Value) + c.CmdClause.Flag("priority", "Priority determines execution order. Lower numbers execute first").Short('p').Action(c.priority.Set).StringVar(&c.priority.Value) c.RegisterFlag(argparser.StringFlagOpts{ Name: argparser.FlagServiceIDName, Description: argparser.FlagServiceIDDesc, @@ -70,7 +70,7 @@ type UpdateCommand struct { location argparser.OptionalString name string newName argparser.OptionalString - priority argparser.OptionalInt + priority argparser.OptionalString serviceName argparser.OptionalServiceNameID serviceVersion argparser.OptionalServiceVersion snippetID string From 8cbaaf5ed13c7921058cd389ca2cdaa2cb5d3e6f Mon Sep 17 00:00:00 2001 From: Anthony Gomez Date: Thu, 3 Apr 2025 12:28:44 -0400 Subject: [PATCH 4/5] fix tests p2 --- pkg/commands/vcl/snippet/create.go | 2 +- pkg/commands/vcl/snippet/snippet_test.go | 31 +++++++++++++++++++----- pkg/commands/vcl/snippet/update.go | 2 +- 3 files changed, 27 insertions(+), 8 deletions(-) diff --git a/pkg/commands/vcl/snippet/create.go b/pkg/commands/vcl/snippet/create.go index d8b9a5c55..3a429987f 100644 --- a/pkg/commands/vcl/snippet/create.go +++ b/pkg/commands/vcl/snippet/create.go @@ -106,7 +106,7 @@ func (c *CreateCommand) Exec(_ io.Reader, out io.Writer) error { } text.Success(out, - "Created VCL snippet '%s' (service: %s, version: %d, dynamic: %t, snippet id: %s, type: %s, priority: %d)", + "Created VCL snippet '%s' (service: %s, version: %d, dynamic: %t, snippet id: %s, type: %s, priority: %s)", fastly.ToValue(v.Name), fastly.ToValue(v.ServiceID), fastly.ToValue(v.ServiceVersion), diff --git a/pkg/commands/vcl/snippet/snippet_test.go b/pkg/commands/vcl/snippet/snippet_test.go index 2202bf80e..a8d3936a0 100644 --- a/pkg/commands/vcl/snippet/snippet_test.go +++ b/pkg/commands/vcl/snippet/snippet_test.go @@ -62,10 +62,14 @@ func TestVCLSnippetCreate(t *testing.T) { if i.Name == nil { i.Name = fastly.ToPointer("") } + if i.Priority == nil { + i.Priority = fastly.ToPointer("100") + } return &fastly.Snippet{ Content: i.Content, Dynamic: i.Dynamic, Name: i.Name, + Priority: i.Priority, ServiceID: fastly.ToPointer(i.ServiceID), ServiceVersion: fastly.ToPointer(i.ServiceVersion), SnippetID: fastly.ToPointer("123"), @@ -73,7 +77,7 @@ func TestVCLSnippetCreate(t *testing.T) { }, }, Args: "--content ./testdata/snippet.vcl --name foo --service-id 123 --type recv --version 3", - WantOutput: "Created VCL snippet 'foo' (service: 123, version: 3, dynamic: false, snippet id: 123, type: recv, priority: 0)", + WantOutput: "Created VCL snippet 'foo' (service: 123, version: 3, dynamic: false, snippet id: 123, type: recv, priority: 100)", PathContentFlag: &testutil.PathContentFlag{Flag: "content", Fixture: "snippet.vcl", Content: func() string { return content }}, }, { @@ -92,10 +96,14 @@ func TestVCLSnippetCreate(t *testing.T) { if i.Name == nil { i.Name = fastly.ToPointer("") } + if i.Priority == nil { + i.Priority = fastly.ToPointer("100") + } return &fastly.Snippet{ Content: i.Content, Dynamic: i.Dynamic, Name: i.Name, + Priority: i.Priority, ServiceID: fastly.ToPointer(i.ServiceID), ServiceVersion: fastly.ToPointer(i.ServiceVersion), SnippetID: fastly.ToPointer("123"), @@ -103,7 +111,7 @@ func TestVCLSnippetCreate(t *testing.T) { }, }, Args: "--content ./testdata/snippet.vcl --dynamic --name foo --service-id 123 --type recv --version 3", - WantOutput: "Created VCL snippet 'foo' (service: 123, version: 3, dynamic: true, snippet id: 123, type: recv, priority: 0)", + WantOutput: "Created VCL snippet 'foo' (service: 123, version: 3, dynamic: true, snippet id: 123, type: recv, priority: 100)", PathContentFlag: &testutil.PathContentFlag{Flag: "content", Fixture: "snippet.vcl", Content: func() string { return content }}, }, { @@ -122,6 +130,9 @@ func TestVCLSnippetCreate(t *testing.T) { if i.Name == nil { i.Name = fastly.ToPointer("") } + if i.Priority == nil { + i.Priority = fastly.ToPointer("100") + } return &fastly.Snippet{ Content: i.Content, Dynamic: i.Dynamic, @@ -154,10 +165,14 @@ func TestVCLSnippetCreate(t *testing.T) { if i.Name == nil { i.Name = fastly.ToPointer("") } + if i.Priority == nil { + i.Priority = fastly.ToPointer("100") + } return &fastly.Snippet{ Content: i.Content, Dynamic: i.Dynamic, Name: i.Name, + Priority: i.Priority, ServiceID: fastly.ToPointer(i.ServiceID), ServiceVersion: fastly.ToPointer(i.ServiceVersion), SnippetID: fastly.ToPointer("123"), @@ -165,7 +180,7 @@ func TestVCLSnippetCreate(t *testing.T) { }, }, Args: "--autoclone --content ./testdata/snippet.vcl --name foo --service-id 123 --type recv --version 1", - WantOutput: "Created VCL snippet 'foo' (service: 123, version: 4, dynamic: false, snippet id: 123, type: recv, priority: 0)", + WantOutput: "Created VCL snippet 'foo' (service: 123, version: 4, dynamic: false, snippet id: 123, type: recv, priority: 100)", PathContentFlag: &testutil.PathContentFlag{Flag: "content", Fixture: "snippet.vcl", Content: func() string { return content }}, }, { @@ -184,10 +199,14 @@ func TestVCLSnippetCreate(t *testing.T) { if i.Name == nil { i.Name = fastly.ToPointer("") } + if i.Priority == nil { + i.Priority = fastly.ToPointer("100") + } return &fastly.Snippet{ Content: i.Content, Dynamic: i.Dynamic, Name: i.Name, + Priority: i.Priority, ServiceID: fastly.ToPointer(i.ServiceID), ServiceVersion: fastly.ToPointer(i.ServiceVersion), SnippetID: fastly.ToPointer("123"), @@ -195,7 +214,7 @@ func TestVCLSnippetCreate(t *testing.T) { }, }, Args: "--content inline_vcl --name foo --service-id 123 --type recv --version 3", - WantOutput: "Created VCL snippet 'foo' (service: 123, version: 3, dynamic: false, snippet id: 123, type: recv, priority: 0)", + WantOutput: "Created VCL snippet 'foo' (service: 123, version: 3, dynamic: false, snippet id: 123, type: recv, priority: 100)", PathContentFlag: &testutil.PathContentFlag{Flag: "content", Fixture: "snippet.vcl", Content: func() string { return content }}, }, } @@ -530,8 +549,8 @@ func TestVCLSnippetUpdate(t *testing.T) { }, nil }, }, - Args: "--autoclone --content inline_vcl --name foo --new-name bar --priority 1 --service-id 123 --type recv --version 1", - WantOutput: "Updated VCL snippet 'bar' (previously: 'foo', service: 123, version: 4, type: recv, priority: 1)", + Args: "--autoclone --content inline_vcl --name foo --new-name bar --priority '1' --service-id 123 --type recv --version 1", + WantOutput: "Updated VCL snippet 'bar' (previously: 'foo', service: 123, version: 4, type: recv, priority: '1')", PathContentFlag: &testutil.PathContentFlag{Flag: "content", Fixture: "snippet.vcl", Content: func() string { return content }}, }, } diff --git a/pkg/commands/vcl/snippet/update.go b/pkg/commands/vcl/snippet/update.go index 10f661a23..37e64c30f 100644 --- a/pkg/commands/vcl/snippet/update.go +++ b/pkg/commands/vcl/snippet/update.go @@ -147,7 +147,7 @@ func (c *UpdateCommand) Exec(_ io.Reader, out io.Writer) error { return err } text.Success(out, - "Updated VCL snippet '%s' (previously: '%s', service: %s, version: %d, type: %v, priority: %d)", + "Updated VCL snippet '%s' (previously: '%s', service: %s, version: %d, type: %v, priority: %s)", fastly.ToValue(v.Name), input.Name, fastly.ToValue(v.ServiceID), From b86c13336c77d4268be74861cfcc5192d17f9ac1 Mon Sep 17 00:00:00 2001 From: Anthony Gomez Date: Thu, 3 Apr 2025 12:30:59 -0400 Subject: [PATCH 5/5] fix test --- pkg/commands/vcl/snippet/snippet_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/commands/vcl/snippet/snippet_test.go b/pkg/commands/vcl/snippet/snippet_test.go index a8d3936a0..49e4d3fce 100644 --- a/pkg/commands/vcl/snippet/snippet_test.go +++ b/pkg/commands/vcl/snippet/snippet_test.go @@ -549,8 +549,8 @@ func TestVCLSnippetUpdate(t *testing.T) { }, nil }, }, - Args: "--autoclone --content inline_vcl --name foo --new-name bar --priority '1' --service-id 123 --type recv --version 1", - WantOutput: "Updated VCL snippet 'bar' (previously: 'foo', service: 123, version: 4, type: recv, priority: '1')", + Args: "--autoclone --content inline_vcl --name foo --new-name bar --priority 1 --service-id 123 --type recv --version 1", + WantOutput: "Updated VCL snippet 'bar' (previously: 'foo', service: 123, version: 4, type: recv, priority: 1)", PathContentFlag: &testutil.PathContentFlag{Flag: "content", Fixture: "snippet.vcl", Content: func() string { return content }}, }, }