diff --git a/cmd/encryption-v1.go b/cmd/encryption-v1.go index 030d123eb..62bdafcd3 100644 --- a/cmd/encryption-v1.go +++ b/cmd/encryption-v1.go @@ -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 ( diff --git a/internal/config/heal/heal.go b/internal/config/heal/heal.go index 2c3ca8bce..edca0eec3 100644 --- a/internal/config/heal/heal.go +++ b/internal/config/heal/heal.go @@ -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() diff --git a/internal/config/storageclass/storage-class.go b/internal/config/storageclass/storage-class.go index b3b3b26f9..98dea3158 100644 --- a/internal/config/storageclass/storage-class.go +++ b/internal/config/storageclass/storage-class.go @@ -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"