Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/stackit_beta_cdn_distribution_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ stackit beta cdn distribution create [flags]

Create a CDN distribution passing the password via stdin, take care that there's a '\n' at the end of the input'
$ cat secret.txt | stackit beta cdn distribution create -y --project-id xxx \
--bucket --bucket-url https://bucket.example.com --bucekt-credentials-access-key-id yyyy --bucket-region EU \
--bucket --bucket-url https://bucket.example.com --bucket-credentials-access-key-id yyyy --bucket-region EU \
--regions AF,EU
```

Expand Down
2 changes: 1 addition & 1 deletion docs/stackit_beta_cdn_distribution_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ stackit beta cdn distribution list [flags]
### Options

```
-- int Limit the output to the first n elements
-h, --help Help for "stackit beta cdn distribution list"
--limit int Limit the output to the first n elements
--sort-by string Sort entries by a specific field, (one of: [id, updatedAt, createdAt, originUrl, status, originUrlRelated]) (default "createdAt")
```

Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/beta/cdn/distribution/create/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func NewCmd(params *types.CmdParams) *cobra.Command {
examples.NewExample(
`Create a CDN distribution passing the password via stdin, take care that there's a '\n' at the end of the input'`,
`$ cat secret.txt | stackit beta cdn distribution create -y --project-id xxx \
--bucket --bucket-url https://bucket.example.com --bucekt-credentials-access-key-id yyyy --bucket-region EU \
--bucket --bucket-url https://bucket.example.com --bucket-credentials-access-key-id yyyy --bucket-region EU \
--regions AF,EU`,
),
),
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/beta/cdn/distribution/delete/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func NewCmd(params *types.CmdParams) *cobra.Command {
req := buildRequest(ctx, model, apiClient)
_, err = req.Execute()
if err != nil {
return fmt.Errorf("delete loadbalancer: %w", err)
return fmt.Errorf("delete CDN distribution: %w", err)
}

params.Printer.Outputf("CDN distribution %q deleted.\n", model.DistributionID)
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/beta/cdn/distribution/list/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type inputModel struct {
}

const (
limitFlag = ""
limitFlag = "limit"
maxPageSize = int32(100)
)

Expand Down
Loading