fix: 'mc admin tier' CLI fix typos (#3734)

This commit is contained in:
Harshavardhana
2021-06-01 15:00:06 -07:00
committed by GitHub
parent 4b7e85d7e9
commit 87092404e0
2 changed files with 10 additions and 9 deletions
+6 -5
View File
@@ -43,12 +43,12 @@ var adminTierAddFlags = []cli.Flag{
cli.StringFlag{
Name: "access-key",
Value: "",
Usage: "AWS s3 or compatible object storage access-key",
Usage: "AWS S3 or compatible object storage access-key",
},
cli.StringFlag{
Name: "secret-key",
Value: "",
Usage: "AWS s3 or compatible object storage secret-key",
Usage: "AWS S3 or compatible object storage secret-key",
},
cli.StringFlag{
Name: "account-name",
@@ -63,7 +63,7 @@ var adminTierAddFlags = []cli.Flag{
cli.StringFlag{
Name: "credentials-file",
Value: "",
Usage: "Google Cloud Storage credentials file used to access/transition objects to GCS",
Usage: "path to Google Cloud Storage credentials file",
},
cli.StringFlag{
Name: "bucket",
@@ -113,10 +113,11 @@ EXAMPLES:
{{.Prompt}} {{.HelpName}} azure myminio AZTIER --account-name foobar --account-key foobar123 --region us-east-1 --bucket testbucket --prefix testprefix/
2. Configure a new remote tier which transitions objects to a bucket in AWS S3 with STANDARD storage class.
{{.Prompt}} {{.HelpName}} s3 myminio S3TIER --endpoint https://s3.amazonaws.com --access-key foobar --secret-key foobar123 --region us-east-1 --bucket testbucket --prefix testprefix/ --storage-class "STANDARD"
{{.Prompt}} {{.HelpName}} s3 myminio S3TIER --endpoint https://s3.amazonaws.com --access-key foobar \
--secret-key foobar123 --region us-east-1 --bucket testbucket --prefix testprefix/ --storage-class "STANDARD"
3. Configure a new remote tier which transitions objects to a bucket in Google Cloud Storage.
{{.Prompt}} {{.HelpName}} s3 myminio GCSTIER --credentials-file --region us-east-1 --bucket testbucket --prefix testprefix/
{{.Prompt}} {{.HelpName}} s3 myminio GCSTIER --credentials-file /path/to/credentials.json --region us-east-1 --bucket testbucket --prefix testprefix/
`,
}
+4 -4
View File
@@ -31,12 +31,12 @@ var adminTierEditFlags = []cli.Flag{
cli.StringFlag{
Name: "access-key",
Value: "",
Usage: "AWS s3 or compatible object storage access-key",
Usage: "AWS S3 or compatible object storage access-key",
},
cli.StringFlag{
Name: "secret-key",
Value: "",
Usage: "AWS s3 or compatible object storage secret-key",
Usage: "AWS S3 or compatible object storage secret-key",
},
cli.StringFlag{
Name: "account-name",
@@ -51,7 +51,7 @@ var adminTierEditFlags = []cli.Flag{
cli.StringFlag{
Name: "credentials-file",
Value: "",
Usage: "gcs credentials file used to access/transition objects to GCS",
Usage: "path to Google Cloud Storage credentials file",
},
}
@@ -83,7 +83,7 @@ EXAMPLES:
{{.Prompt}} {{.HelpName}} myminio S3TIER --access-key foobar-new --secret-key foobar-new123
3. Update credentials for an existing Google Cloud Storage remote tier.
{{.Prompt}} {{.HelpName}} myminio GCSTIER --credentials-file /path/to/updated-creds.json
{{.Prompt}} {{.HelpName}} myminio GCSTIER --credentials-file /path/to/credentials.json
`,
}