Files
vault/physical/raft/raft_util_stubs_oss.go
Paul Banks fc0abf2d9f Remove CE-only warning from shared tests (#26052)
* 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
2024-03-20 17:08:33 +00:00

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)
}