Skip to content

Commit

Permalink
fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard87 committed Sep 12, 2024
1 parent 93fbc00 commit 0605c2d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/scaleComponent.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ Note: Manual scaling will persist across deployments, and will disable autoscali
`,
Example: `
# Scale up component to 2 replicas
rx scale --application radix-test --environment dev --component component-abc --replicas 2
rx scale component --application radix-test --environment dev --component component-abc --replicas 2
# Short version of scaling up component to 0 replicas
rx scale -a radix-test -e dev -n component-abc -r 2
rx scale component -a radix-test -e dev -n component-abc -r 2
# Reset manual scaling to resume normal operations:
rx scale --application radix-test --environment dev --component component-abc --reset
rx scale component --application radix-test --environment dev --component component-abc --reset
`,
RunE: func(cmd *cobra.Command, args []string) error {
appName, err := getAppNameFromConfigOrFromParameter(cmd, flagnames.Application)
Expand Down

0 comments on commit 0605c2d

Please sign in to comment.