mirror of https://github.com/minio/minio.git
fix typos reported in CI/CD
This commit is contained in:
parent
7ee42b3ff5
commit
1615920f48
|
@ -109,7 +109,7 @@ func kmsKeyIDFromMetadata(metadata map[string]string) string {
|
|||
// be AWS S3 compliant.
|
||||
//
|
||||
// DecryptETags uses a KMS bulk decryption API, if available, which
|
||||
// is more efficient than decrypting ETags sequentually.
|
||||
// is more efficient than decrypting ETags sequentially.
|
||||
func DecryptETags(ctx context.Context, k *kms.KMS, objects []ObjectInfo) error {
|
||||
const BatchSize = 250 // We process the objects in batches - 250 is a reasonable default.
|
||||
var (
|
||||
|
|
|
@ -63,11 +63,9 @@ type Config struct {
|
|||
}
|
||||
|
||||
// BitrotScanCycle returns the configured cycle for the scanner healing
|
||||
// -1 for not enabled
|
||||
//
|
||||
// 0 for contiunous bitrot scanning
|
||||
//
|
||||
// >0 interval duration between cycles
|
||||
// - '-1' for not enabled
|
||||
// - '0' for continuous bitrot scanning
|
||||
// - '> 0' interval duration between cycles
|
||||
func (opts Config) BitrotScanCycle() (d time.Duration) {
|
||||
configMutex.RLock()
|
||||
defer configMutex.RUnlock()
|
||||
|
|
|
@ -39,7 +39,7 @@ const (
|
|||
STANDARD = "STANDARD"
|
||||
)
|
||||
|
||||
// Standard constats for config info storage class
|
||||
// Standard constants for config info storage class
|
||||
const (
|
||||
ClassStandard = "standard"
|
||||
ClassRRS = "rrs"
|
||||
|
|
Loading…
Reference in New Issue