From 37f7ecafa2bc7c7221a64f569fb0a6095ab5283c Mon Sep 17 00:00:00 2001 From: Michael Lange Date: Tue, 2 Jul 2019 17:27:31 -0700 Subject: [PATCH] Use consistent casing in the JSON representation of the AllocFileInfo struct --- client/structs/structs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/structs/structs.go b/client/structs/structs.go index 8b3898d67..169cf824c 100644 --- a/client/structs/structs.go +++ b/client/structs/structs.go @@ -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.