Fix keyring doc method wording

This commit is contained in:
Kyle Havlovitz 2016-11-22 19:03:27 -05:00
parent 6bd65c668b
commit dcdadd012f
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 // keyringRequest is used for performing Keyring operations
type keyringRequest struct { type keyringRequest struct {
Key string `json:",omitempty"` Key string
} }
// KeyringResponse is returned when listing the gossip encryption keys // 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 into the cluster. There is more information on gossip encryption available
[here](/docs/agent/encryption.html#gossip-encryption). [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: body must look like:
```javascript ```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 is more information on gossip encryption available
[here](/docs/agent/encryption.html#gossip-encryption). [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: body must look like:
```javascript ```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 the primary key. There is more information on gossip encryption available
[here](/docs/agent/encryption.html#gossip-encryption). [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: body must look like:
```javascript ```javascript