Skip to content

Commit 4262a52

Browse files
committed
chore(alb): fix example
relates to STACKITCLI-355
1 parent 4bb3a43 commit 4262a52

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/stackit_beta_alb_pool_update.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ stackit beta alb pool update [flags]
1414

1515
```
1616
Update an application target pool from a configuration file (the name of the pool is read from the file)
17-
$ stackit beta alb update --configuration my-target-pool.json --name my-load-balancer
17+
$ stackit beta alb pool update --configuration my-target-pool.json --name my-load-balancer
1818
```
1919

2020
### Options
2121

2222
```
2323
-c, --configuration string Filename of the input configuration file
2424
-h, --help Help for "stackit beta alb pool update"
25-
-n, --name string Name of the target pool name to update
25+
-n, --name string Name of the application load balancer
2626
```
2727

2828
### Options inherited from parent commands

internal/cmd/beta/alb/pool/update/update.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ func NewCmd(params *types.CmdParams) *cobra.Command {
4646
Example: examples.Build(
4747
examples.NewExample(
4848
`Update an application target pool from a configuration file (the name of the pool is read from the file)`,
49-
"$ stackit beta alb update --configuration my-target-pool.json --name my-load-balancer"),
49+
"$ stackit beta alb pool update --configuration my-target-pool.json --name my-load-balancer"),
5050
),
5151
RunE: func(cmd *cobra.Command, args []string) error {
5252
ctx := context.Background()
@@ -92,7 +92,7 @@ func NewCmd(params *types.CmdParams) *cobra.Command {
9292

9393
func configureFlags(cmd *cobra.Command) {
9494
cmd.Flags().StringP(configurationFlag, "c", "", "Filename of the input configuration file")
95-
cmd.Flags().StringP(albNameFlag, "n", "", "Name of the target pool name to update")
95+
cmd.Flags().StringP(albNameFlag, "n", "", "Name of the application load balancer")
9696
err := flags.MarkFlagsRequired(cmd, configurationFlag, albNameFlag)
9797
cobra.CheckErr(err)
9898
}

0 commit comments

Comments
 (0)