From 5463a4617fa009de4dac6c1c80aed970eb4f1fe3 Mon Sep 17 00:00:00 2001 From: Christian Nautze <98806987+cnautze@users.noreply.github.com> Date: Tue, 19 Sep 2023 16:49:13 +0200 Subject: [PATCH] exo x cmds: secondary volume add create from snapshot-id (#542) # Description [SC-77650] --- CHANGELOG.md | 1 + cmd/internal/x/x.gen.go | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1903a720..617e580c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - install script: verify signatures before installation #540 - release: adapt AUR release script for signed packages #541 +- Updated `exo x` #542 ## 1.73.0 diff --git a/cmd/internal/x/x.gen.go b/cmd/internal/x/x.gen.go index 0487c1dd..a30d1d44 100644 --- a/cmd/internal/x/x.gen.go +++ b/cmd/internal/x/x.gen.go @@ -8072,7 +8072,7 @@ func XUpdateReverseDnsInstance(paramId string, params *viper.Viper, body string) return resp, decoded, nil } -// XCreateSecondaryVolume Create a secondary volume +// XCreateSecondaryVolume Create a secondary volume. If snapshot-id is passed in from an existing secondary volume snapshot. func XCreateSecondaryVolume(params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error) { handlerPath := "create-secondary-volume" if xSubcommand { @@ -17496,8 +17496,8 @@ func xRegister(subcommand bool) { cmd := &cobra.Command{ Use: "create-secondary-volume", - Short: "Create a secondary volume", - Long: cli.Markdown("\n## Request Schema (application/json)\n\nproperties:\n labels:\n $ref: '#/components/schemas/labels'\n name:\n description: Volume name\n maxLength: 255\n minLength: 1\n type: string\n size:\n description: Volume size in GB\n format: int64\n maximum: 1024\n minimum: 100\n type: integer\nrequired:\n- size\ntype: object\n"), + Short: "Create a secondary volume. If snapshot-id is passed in from an existing secondary volume snapshot.", + Long: cli.Markdown("\n## Request Schema (application/json)\n\nproperties:\n labels:\n $ref: '#/components/schemas/labels'\n name:\n description: Volume name\n maxLength: 255\n minLength: 1\n type: string\n size:\n description: Volume size in GB\n format: int64\n maximum: 1024\n minimum: 100\n type: integer\n snapshot-id:\n description: Secondary volume snapshot ID\n format: uuid\n type: string\ntype: object\n"), Example: examples, Args: cobra.MinimumNArgs(0), Run: func(cmd *cobra.Command, args []string) {