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.
|
// be AWS S3 compliant.
|
||||||
//
|
//
|
||||||
// DecryptETags uses a KMS bulk decryption API, if available, which
|
// 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 {
|
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.
|
const BatchSize = 250 // We process the objects in batches - 250 is a reasonable default.
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -63,11 +63,9 @@ type Config struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
// BitrotScanCycle returns the configured cycle for the scanner healing
|
// BitrotScanCycle returns the configured cycle for the scanner healing
|
||||||
// -1 for not enabled
|
// - '-1' for not enabled
|
||||||
//
|
// - '0' for continuous bitrot scanning
|
||||||
// 0 for contiunous bitrot scanning
|
// - '> 0' interval duration between cycles
|
||||||
//
|
|
||||||
// >0 interval duration between cycles
|
|
||||||
func (opts Config) BitrotScanCycle() (d time.Duration) {
|
func (opts Config) BitrotScanCycle() (d time.Duration) {
|
||||||
configMutex.RLock()
|
configMutex.RLock()
|
||||||
defer configMutex.RUnlock()
|
defer configMutex.RUnlock()
|
||||||
|
|
|
@ -39,7 +39,7 @@ const (
|
||||||
STANDARD = "STANDARD"
|
STANDARD = "STANDARD"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Standard constats for config info storage class
|
// Standard constants for config info storage class
|
||||||
const (
|
const (
|
||||||
ClassStandard = "standard"
|
ClassStandard = "standard"
|
||||||
ClassRRS = "rrs"
|
ClassRRS = "rrs"
|
||||||
|
|
Loading…
Reference in New Issue