Skip to content

Commit 28c07c6

Browse files
authored
fix: marketplace list with context companyID (#154)
1 parent c74a90b commit 28c07c6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/30_commands.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ Available flags for the command:
480480

481481
#### edit RESOURCE-NAME
482482

483-
The `project iam edit` subcommand allows you to alternatevely update the role assigned to the current project or
483+
The `project iam edit` subcommand allows you to alternatively update the role assigned to the current project or
484484
one of its environment for one of the different `IAM` entity types:
485485

486486
- `group`
@@ -511,7 +511,7 @@ Available flags for the command:
511511

512512
#### remove-role RESOURCE-NAME
513513

514-
The `project iam remove-role` subcommand allows you to alternatevely delete the custom role assigned to one of the
514+
The `project iam remove-role` subcommand allows you to alternatively delete the custom role assigned to one of the
515515
different `IAM` entity types for the project or one of its environments.
516516

517517
Usage:

internal/cmd/marketplace/list.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const (
3434
3535
This command lists the Marketplace items of a company.
3636
37-
you can also speficfy following flags:
37+
you can also specify the following flags:
3838
- --public - if this flag is set, the command fetches not only the items from the requested company, but also the public Marketplace items from other companies.
3939
`
4040
listCmdUse = "list --company-id company-id [FLAGS]..."
@@ -62,7 +62,7 @@ func runListCmd(options *clioptions.CLIOptions) func(cmd *cobra.Command, args []
6262
cobra.CheckErr(err)
6363

6464
marketplaceItemsOptions := GetMarketplaceItemsOptions{
65-
companyID: options.CompanyID,
65+
companyID: restConfig.CompanyID,
6666
public: options.MarketplaceFetchPublicItems,
6767
}
6868

0 commit comments

Comments
 (0)