Skip to content

Commit

Permalink
Merge pull request #14 from hunterkepley/ocm-6448-bugfixes
Browse files Browse the repository at this point in the history
OCM-6448 | fix: Fix actual UX issues
  • Loading branch information
gdbranco authored May 31, 2024
2 parents 646a10e + b9af3bc commit 7ecc3f4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/rosa-support/create/subnets/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var Cmd = &cobra.Command{
Short: "Create subnets",
Long: "Create subnets.",
Example: ` # Create a pair of subnets with prefix 'mysubnet-' in region 'us-east-2'
rosa-support create subnets --name-prefix=mysubnet --region us-east-2 --vpc-id <vpc id> --availability-zones <AZs>`,
rosa-support create subnets --region us-east-2 --vpc-id <vpc id> --availability-zones <AZs>`,

Run: run,
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/rosa-support/create/vpc/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func run(cmd *cobra.Command, _ []string) {
split := strings.Split(tag, ":")

if len(split) == 2 {
tagMap[split[0]] = tagMap[split[1]]
tagMap[split[0]] = split[1]
} else {
tagMap[split[0]] = ""
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/rosa-support/delete/tag/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ var Cmd = &cobra.Command{
Short: "Delete tag",
Long: "Delete tag.",
Example: ` # Delete a tag from the resource
rosa-support delete tag --resource-id <vpc id> --region us-east-2 --tag-key key`,
rosa-support delete tag --resource-id <resource id> --region us-east-2 --tag-key key`,

Run: run,
}
Expand Down

0 comments on commit 7ecc3f4

Please sign in to comment.