mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-05 12:26:34 +02:00
Fix "does not exists" grammar (#7950)
* Fix "does not exists" grammar * Fix "does not exists" grammar * Revert vendor and go.mod
This commit is contained in:
parent
a4d0ca8e6d
commit
967b8c96f7
@ -950,7 +950,7 @@ func (b *SystemBackend) handleUnmount(ctx context.Context, req *logical.Request,
|
||||
return nil, logical.ErrReadOnly
|
||||
}
|
||||
|
||||
// We return success when the mount does not exists to not expose if the
|
||||
// We return success when the mount does not exist to not expose if the
|
||||
// mount existed or not
|
||||
match := b.Core.router.MatchingMount(ctx, path)
|
||||
if match == "" || ns.Path+path != match {
|
||||
@ -1873,7 +1873,7 @@ func (b *SystemBackend) handleDisableAuth(ctx context.Context, req *logical.Requ
|
||||
return nil, logical.ErrReadOnly
|
||||
}
|
||||
|
||||
// We return success when the mount does not exists to not expose if the
|
||||
// We return success when the mount does not exist to not expose if the
|
||||
// mount existed or not
|
||||
match := b.Core.router.MatchingMount(ctx, fullPath)
|
||||
if match == "" || ns.Path+fullPath != match {
|
||||
|
||||
@ -844,7 +844,7 @@ $ vault kv metadata put -cas-required=true secret/partner
|
||||
Once check-and-set is enabled, every write operation requires `cas` value to be
|
||||
passed. If you are sure that you want to overwrite the existing key-value, set
|
||||
`cas` to match the current version. Set `cas` to `0` if you want to write the
|
||||
secret _only if_ the key does not exists.
|
||||
secret _only if_ the key does not exist.
|
||||
|
||||
**Example:**
|
||||
|
||||
@ -896,7 +896,7 @@ $ curl --header "X-Vault-Token: ..." \
|
||||
Once check-and-set is enabled, every write operation requires `cas` value to be
|
||||
passed. If you are sure that you want to overwrite the existing key-value, set
|
||||
`cas` to match the current version. Set `cas` to `0` if you want to write the
|
||||
secret _only if_ the key does not exists.
|
||||
secret _only if_ the key does not exist.
|
||||
|
||||
**Example:**
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user