Skip to content

Commit

Permalink
OCM-6448 | fix: Fix actual UX issues
Browse files Browse the repository at this point in the history
  • Loading branch information
hunterkepley committed May 23, 2024
1 parent 646a10e commit b9af3bc
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 b9af3bc

Please sign in to comment.