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:
Steve Gore 2019-12-04 09:25:09 +11:00 committed by Clint
parent a4d0ca8e6d
commit 967b8c96f7
2 changed files with 4 additions and 4 deletions

View File

@ -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 {

View File

@ -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:**