mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 17:52:32 +00:00
* Remove CE-only warning from shared tests * Add tests for all warnings emitted during raft config parsing * Unmark warnings as CE only that are universal
19 lines
459 B
Go
19 lines
459 B
Go
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
|
|
//go:build !enterprise
|
|
|
|
package raft
|
|
|
|
import "github.com/hashicorp/go-hclog"
|
|
|
|
//go:generate go run github.com/hashicorp/vault/tools/stubmaker
|
|
|
|
func (b *RaftBackend) entrySizeLimitForPath(path string) uint64 {
|
|
return b.maxEntrySize
|
|
}
|
|
|
|
func emitEntWarning(logger hclog.Logger, field string) {
|
|
logger.Warn("configuration for a Vault Enterprise feature has been ignored", "field", field)
|
|
}
|