mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
VAULT-7698 Fix ignored parameter warnings for endpoint arbitrary data options (#16794)
* VAULT-7698 Fix warnings for endpoint arbitrary data options * VAULT-7698 Add changelog
This commit is contained in:
@@ -221,7 +221,7 @@ func (b *Backend) HandleRequest(ctx context.Context, req *logical.Request) (*log
|
||||
var ignored []string
|
||||
for k, v := range req.Data {
|
||||
raw[k] = v
|
||||
if path.Fields[k] == nil {
|
||||
if !path.TakesArbitraryInput && path.Fields[k] == nil {
|
||||
ignored = append(ignored, k)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user