s3-benchmark: change object/bucket prefix option.

Signed-off-by: Mark Nelson <mnelson@redhat.com>
master
Mark Nelson 2019-08-12 10:58:48 -04:00
parent 94d781a3fb
commit 4689735d41
1 changed files with 2 additions and 2 deletions

View File

@ -315,8 +315,8 @@ func init() {
myflag.StringVar(&access_key, "a", os.Getenv("AWS_ACCESS_KEY_ID"), "Access key")
myflag.StringVar(&secret_key, "s", os.Getenv("AWS_SECRET_ACCESS_KEY"), "Secret key")
myflag.StringVar(&url_host, "u", os.Getenv("AWS_HOST"), "URL for host with method prefix")
myflag.StringVar(&object_prefix, "o", "", "Prefix for objects")
myflag.StringVar(&bucket_prefix, "p", "hotsauce_bench", "Prefix for buckets")
myflag.StringVar(&object_prefix, "op", "", "Prefix for objects")
myflag.StringVar(&bucket_prefix, "bp", "hotsauce_bench", "Prefix for buckets")
myflag.StringVar(&region, "r", "us-east-1", "Region for testing")
myflag.Int64Var(&object_count, "n", -1, "Maximum number of objects <-1 for unlimited>")
myflag.IntVar(&bucket_count, "b", 1, "Number of buckets to distribute IOs across")