Skip to content

Commit b4e08e1

Browse files
authored
Merge 73a314a into c4e6d8d
2 parents c4e6d8d + 73a314a commit b4e08e1

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

internal/command/platform/regions.go

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ import (
1818
"github.com/superfly/flyctl/iostreams"
1919
)
2020

21-
const RegionsCommandDesc = `View a list of regions where Fly has datacenters.
22-
'Capacity' shows how many performance-1x VMs can currently be launched in each region.
23-
`
21+
const RegionsCommandDesc = `View a list of regions where Fly has datacenters.`
2422

2523
func newRegions() (cmd *cobra.Command) {
2624
const (
@@ -68,16 +66,12 @@ func runRegions(ctx context.Context) error {
6866
rows = append(rows, []string{""})
6967
rows = append(rows, []string{io.ColorScheme().Underline(key.String())})
7068
for _, region := range regionGroup {
71-
capacity := fmt.Sprint(region.Capacity)
72-
capacity = io.ColorScheme().RedGreenGradient(capacity, float64(region.Capacity)/1000)
73-
7469
rows = append(rows, []string{
7570
region.Name,
7671
region.Code,
77-
capacity,
7872
})
7973
}
8074
}
8175

82-
return render.Table(out, "", rows, "Name", "Code", "Capacity")
76+
return render.Table(out, "", rows, "Name", "Code")
8377
}

0 commit comments

Comments
 (0)