Skip to content

Commit 6dc13c9

Browse files
fix(cdn): address small CDN issues
1 parent 4a82c31 commit 6dc13c9

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎internal/cmd/beta/cdn/distribution/create/create.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ func NewCmd(params *types.CmdParams) *cobra.Command {
100100
examples.NewExample(
101101
`Create a CDN distribution passing the password via stdin, take care that there's a '\n' at the end of the input'`,
102102
`$ cat secret.txt | stackit beta cdn distribution create -y --project-id xxx \
103-
--bucket --bucket-url https://bucket.example.com --bucekt-credentials-access-key-id yyyy --bucket-region EU \
103+
--bucket --bucket-url https://bucket.example.com --bucket-credentials-access-key-id yyyy --bucket-region EU \
104104
--regions AF,EU`,
105105
),
106106
),

‎internal/cmd/beta/cdn/distribution/delete/delete.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func NewCmd(params *types.CmdParams) *cobra.Command {
6565
req := buildRequest(ctx, model, apiClient)
6666
_, err = req.Execute()
6767
if err != nil {
68-
return fmt.Errorf("delete loadbalancer: %w", err)
68+
return fmt.Errorf("delete CDN distribution: %w", err)
6969
}
7070

7171
params.Printer.Outputf("CDN distribution %q deleted.\n", model.DistributionID)

‎internal/cmd/beta/cdn/distribution/list/list.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ type inputModel struct {
2828
}
2929

3030
const (
31-
limitFlag = ""
31+
limitFlag = "limit"
3232
maxPageSize = int32(100)
3333
)
3434

0 commit comments

Comments
 (0)