Skip to content

Commit

Permalink
typo fix (#4373)
Browse files Browse the repository at this point in the history
Signed-off-by: kaynAw <kaynw@qq.com>
  • Loading branch information
knwgo authored Jun 25, 2021
1 parent 946f689 commit bf96323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/objstore/s3/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ func validate(conf Config) error {
}

if conf.AccessKey == "" && conf.SecretKey != "" {
return errors.New("no s3 acccess_key specified while secret_key is present in config file; either both should be present in config or envvars/IAM should be used.")
return errors.New("no s3 access_key specified while secret_key is present in config file; either both should be present in config or envvars/IAM should be used.")
}

if conf.AccessKey != "" && conf.SecretKey == "" {
Expand Down

0 comments on commit bf96323

Please sign in to comment.