fixes based proper interpretation of comments

This commit is contained in:
Laura Bennett
2016-07-26 12:20:27 -04:00
parent 3a05c02f9b
commit bcb2f3e962
3 changed files with 13 additions and 20 deletions

View File

@@ -42,6 +42,7 @@ func (f *FormatJSON) FormatRequest(
Request: JSONRequest{
ClientToken: req.ClientToken,
ID: req.ID,
Operation: req.Operation,
Path: req.Path,
Data: req.Data,
@@ -112,6 +113,7 @@ func (f *FormatJSON) FormatResponse(
Request: JSONRequest{
ClientToken: req.ClientToken,
ID: req.ID,
Operation: req.Operation,
Path: req.Path,
Data: req.Data,
@@ -149,6 +151,7 @@ type JSONResponseEntry struct {
}
type JSONRequest struct {
ID string `json:"id"`
Operation logical.Operation `json:"operation"`
ClientToken string `json:"client_token"`
Path string `json:"path"`