Remove fragile link to docs from code. (#11928)

This commit is contained in:
Nick Cabatoff 2021-06-23 21:43:44 +02:00 committed by GitHub
parent 649dc702e3
commit 8096e7d856
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1240,10 +1240,8 @@ func (b *RaftBackend) Get(ctx context.Context, path string) (*physical.Entry, er
if entry != nil {
valueLen := len(entry.Value)
if uint64(valueLen) > b.maxEntrySize {
b.logger.Warn(
"retrieved entry value is too large; see https://www.vaultproject.io/docs/configuration/storage/raft#raft-parameters",
"size", valueLen, "suggested", b.maxEntrySize,
)
b.logger.Warn("retrieved entry value is too large, has raft's max_entry_size been reduced?",
"size", valueLen, "max_entry_size", b.maxEntrySize)
}
}