Skip to content

Commit

Permalink
Merge pull request #5915 from hashicorp/b-fix-json-key-casing
Browse files Browse the repository at this point in the history
Use consistent casing in the JSON representation of the AllocFileInfo struct
  • Loading branch information
DingoEatingFuzz authored Jul 3, 2019
2 parents b57ea22 + 37f7eca commit 1b3d76e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/structs/structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ type AllocFileInfo struct {
Size int64
FileMode string
ModTime time.Time
ContentType string `json:"contenttype,omitempty"`
ContentType string `json:",omitempty"`
}

// FsListRequest is used to list an allocation's directory.
Expand Down

0 comments on commit 1b3d76e

Please sign in to comment.