From 177808558fab5633351114cca484862cc6750c8d Mon Sep 17 00:00:00 2001 From: Guna K Kambalimath Date: Fri, 27 Sep 2024 10:47:43 +0530 Subject: [PATCH] Addressing comments --- cmd/image/import/import.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/image/import/import.go b/cmd/image/import/import.go index 482305a3..83b83e28 100644 --- a/cmd/image/import/import.go +++ b/cmd/image/import/import.go @@ -338,10 +338,10 @@ func init() { Cmd.Flags().BoolVarP(&pkg.ImageCMDOptions.Watch, "watch", "w", false, "After image import watch for image to be published and ready to use") Cmd.Flags().DurationVar(&pkg.ImageCMDOptions.WatchTimeout, "watch-timeout", 1*time.Hour, "watch timeout") - Cmd.Flags().StringVar(&pkg.ImageCMDOptions.StorageType, "pvs-storagetype", "tier3", fmt.Sprintf("PowerVS Storage type, accepted values are [tier1, tier3, tier0, tier5k].\n%s\n%s\n%s\n%s\nNote: The use of fixed IOPS is limited to volumes with a size of 200 GB or less, which is the break even size with Tier 0 (200 GB @ 25 IOPS/GB = 5000 IOPS).", tier0, tier1, tier3, fixedIOPS)) + Cmd.Flags().StringVar(&pkg.ImageCMDOptions.StorageType, "pvs-storagetype", "tier3", fmt.Sprintf("PowerVS Storage type, accepted values are [tier0, tier1, tier3, tier5k].\n%s\n%s\n%s\n%s\nNote: The use of fixed IOPS is limited to volumes with a size of 200 GB or less, which is the break even size with Tier 0 (200 GB @ 25 IOPS/GB = 5000 IOPS).", tier0, tier1, tier3, fixedIOPS)) // The help section against --pvs-storagetype generates the following output: /* - --pvs-storagetype string PowerVS Storage type, accepted values are [tier1, tier3, tier0, tier5k]. + --pvs-storagetype string PowerVS Storage type, accepted values are [tier0, tier1, tier3, tier5k]. Tier 0 | 25 IOPS/GB Tier 1 | 10 IOPS/GB Tier 3 | 3 IOPS/GB