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.