Fix keyring doc method wording

This commit is contained in:
Kyle Havlovitz 2016-11-22 19:03:27 -05:00
parent 79f339b5dc
commit 66dea6951a
2 changed files with 4 additions and 4 deletions

View File

@ -45,7 +45,7 @@ type RaftConfiguration struct {
// keyringRequest is used for performing Keyring operations
type keyringRequest struct {
Key string `json:",omitempty"`
Key string
}
// KeyringResponse is returned when listing the gossip encryption keys

View File

@ -192,7 +192,7 @@ Using the `POST` method, this endpoint will install a new gossip encryption key
into the cluster. There is more information on gossip encryption available
[here](/docs/agent/encryption.html#gossip-encryption).
The register endpoint expects a JSON request body to be PUT. The request
The POST method expects a JSON request body to be submitted. The request
body must look like:
```javascript
@ -216,7 +216,7 @@ key. The key must already be installed before this operation can succeed. There
is more information on gossip encryption available
[here](/docs/agent/encryption.html#gossip-encryption).
The register endpoint expects a JSON request body to be PUT. The request
The PUT method expects a JSON request body to be submitted. The request
body must look like:
```javascript
@ -240,7 +240,7 @@ the cluster. This operation may only be performed on keys which are not currentl
the primary key. There is more information on gossip encryption available
[here](/docs/agent/encryption.html#gossip-encryption).
The register endpoint expects a JSON request body to be PUT. The request
The DELETE method expects a JSON request body to be submitted. The request
body must look like:
```javascript