From 71c15aeb889cf1348e85a2007256ec5734fa8a5f Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Tue, 4 Feb 2025 15:16:40 +0000 Subject: [PATCH] feat: update generated APIs --- go.mod | 2 +- go.sum | 4 ++-- .../namespaces/webhosting/v1/webhosting_cli.go | 15 +++++++++++---- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/go.mod b/go.mod index 6e773ac53b..924f25fea0 100644 --- a/go.mod +++ b/go.mod @@ -26,7 +26,7 @@ require ( github.com/mattn/go-isatty v0.0.20 github.com/moby/buildkit v0.13.2 github.com/opencontainers/go-digest v1.0.0 - github.com/scaleway/scaleway-sdk-go v1.0.0-beta.31.0.20250131092239-a51ebdefdc36 + github.com/scaleway/scaleway-sdk-go v1.0.0-beta.32 github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 github.com/spf13/cobra v1.8.1 github.com/spf13/pflag v1.0.6 diff --git a/go.sum b/go.sum index f48d4e8acc..1c084a100c 100644 --- a/go.sum +++ b/go.sum @@ -463,8 +463,8 @@ github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUz github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.31.0.20250131092239-a51ebdefdc36 h1:dLROID2+dkIx3iRcFa8lHuEM0L07PJjgS5SeveaJl6A= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.31.0.20250131092239-a51ebdefdc36/go.mod h1:kzh+BSAvpoyHHdHBCDhmSWtBc1NbLMZ2lWHqnBoxFks= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.32 h1:4+LP7qmsLSGbmc66m1s5dKRMBwztRppfxFKlYqYte/c= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.32/go.mod h1:kzh+BSAvpoyHHdHBCDhmSWtBc1NbLMZ2lWHqnBoxFks= github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8= github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM= github.com/secure-systems-lab/go-securesystemslib v0.8.0 h1:mr5An6X45Kb2nddcFlbmfHkLguCE9laoZCUzEEpIZXA= diff --git a/internal/namespaces/webhosting/v1/webhosting_cli.go b/internal/namespaces/webhosting/v1/webhosting_cli.go index 5688c11d33..04d0cf3440 100644 --- a/internal/namespaces/webhosting/v1/webhosting_cli.go +++ b/internal/namespaces/webhosting/v1/webhosting_cli.go @@ -704,8 +704,8 @@ func webhostingDNSRecordsGetDNSRecords() *core.Command { func webhostingDomainCheckOwnership() *core.Command { return &core.Command{ - Short: `"Check whether you own this domain or not."`, - Long: `"Check whether you own this domain or not.".`, + Short: `Check whether you own this domain or not.`, + Long: `Check whether you own this domain or not.`, Namespace: "webhosting", Resource: "domain", Verb: "check-ownership", @@ -735,8 +735,8 @@ func webhostingDomainCheckOwnership() *core.Command { func webhostingDomainSyncDNSRecords() *core.Command { return &core.Command{ - Short: `"Synchronize your DNS records on the Elements Console and on cPanel."`, - Long: `"Synchronize your DNS records on the Elements Console and on cPanel.".`, + Short: `Synchronize your DNS records on the Elements Console and on cPanel.`, + Long: `Synchronize your DNS records on the Elements Console and on cPanel.`, Namespace: "webhosting", Resource: "domain", Verb: "sync-dns-records", @@ -771,6 +771,13 @@ func webhostingDomainSyncDNSRecords() *core.Command { Deprecated: false, Positional: false, }, + { + Name: "update-nameservers", + Short: `Whether or not to synchronize domain nameservers.`, + Required: false, + Deprecated: false, + Positional: false, + }, { Name: "custom-records.{index}.name", Required: false,